This function ideally should be in   app/models/glue/candlepin/product.rb