jobstart: Check prg arguments for NULL.
Merge pull request #1471 from splinterofchaos/fix-jobstart

jobstart: Check prg arguments for NULL.