Update BaseProduct.php

Avoid Php Warning when product has no associated category.