Client: don't crash when starting a job with no arguments or no environment