this change requires to know what type of repo it is (file or yum).  Currently that info is stored in its content within candlepin.  So the only options are to 

a) store that info in katello
b) write the test such that both pulp and candlepin are enabled with vcr

I don't think a) is the right approach.  Possibly b) is, but it means really anywhere we create a repo with pulp enabled candlepin also has to be enabled.