Fix issue where job ID wasn't being passed properly.
Fix crash when outputting debug output from runner.