Make sure ingest jobs with empty directories finish