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

...ploaded

Fixes #1611