avoid blank fields on stock management + images screens when variant has no SKU

Fixes #3979
Fixes #3650