Added null cehck to IngestScheduler.FileIngestScheduler