In case of failure to produce report.xml, set cmssw_exit_code as well as exit_code, so that any output file produced will be deleted.
Fixing mistake I introduced in adc8368116204c8ea7a6b65abaa26666e88a55d6.