Fixed bug in LocalJobs.newScheduler that allowed null locations