TUP-2188 fix bug: generate task failed of task with commandline command
created job
https://jira.talendforge.org/browse/TUP-2188