TDI-30984: fix for the joblet case
https://jira.talendforge.org/browse/TDI-30984