Validate uniqueness of variants sku. Fixes #5015