[TIMOB-17990] (3_5_X) fix duplications in command shown in log header

Fixes duplications in the command string that's output in the log header per QE feedback on https://jira.appcelerator.org/browse/TIMOB-17990