Fix building cmssw-patch releases with new scheduler.
Merge pull request #17 from ktf/V00-21-XX

Fix building cmssw-patch releases with new scheduler.