Fix bug when called for an inexistent product

When an old link is called (for example from an old google index), or a inexistent product page is called (basically with an inexistent id_product), the module go in error with a 500 Internal Server Error, because the $product object is null.