Don't break the whole server if an import failed because no files were uploaded

Fixes #1611
Merge pull request #1645 from ether/fix/import-without-files

Don't break the whole server if an import failed because no files were u...