For purposes of this section, the term “qualified refinery” means any refinery located in the United States which is designed to serve the primary purpose of processing liquid fuel from crude oil or qualified fuels (as defined in section
45K
(c)), or directly from shale or tar sands.