## Steps to reproduce In magneto backend( Version 2.1), go to Catalog -> Catalog -> Product Fields Auto-Generation Set 'Mask for SKU' to empty. Try adding new product ## Expected result Page to add new product appears ## Actual result Product add page gets stuck in loading. Javascript crashes in import-handler.js due to mask being NULL, see screenshot attached. 