Exclude masterVariant from SKU match. Throw an error if variant has no ID and no SKU.