Fixes error when trying to import files without certain config keys