Ensure importer prevents undefined image error