def repositories
      Katello::Repository.where(:root_id => product.root_repositories.has_url.where(:content_id => content.cp_content_id))
    end
def repositories
      Katello::Repository.where(:root_id => product.root_repositories.has_url.where(:content_id => content.cp_content_id))
    end
used by Katello::Api::V2::RepositorySetsController#index