Yes the refinery gets some of its feedstock from the pipeline but not nearly enough, that's why it's forced to seek alternative sources.  The refinery previously applied for priority access to oil from the pipeline and was denied by our infinitely wise government.