A problem is occurring when attempting to start a job using REST API. To reproduce simply curl the following to the the job:
This results in:
This occurs here:
I'm guessing somehow the above results in it evaluating to the branch of if that doesn't produce a String which never gets hit otherwise.