Fixed a problem with null media when adding a new sku