Fixing a weird case where an empty job file will end up in the cachedir, causing exceptions when the minion is restarted.  This change removed the problem job file.
Merge pull request #14439 from garethgreenaway/empty_job_file

fixes to utils/schedule.py