Fixed exception thrown when no files to ingest