Fixes an issue allowing to add master product to basket

Fixes https://github.com/sonata-project/ecommerce/issues/230