PIM-2127 : mark getFlexibleRepository as deprecated and introduce
getProductRepository