[BugFix] Little bug fix inside product model

You could not set a master variant if the non-master variant was already added to the product. This patch fixed it.
But then you would end up with 2 if statements checking if the product contains the variant.