print_jobs was duplicating results

The display output was indented at the wrong place, therefore adding results each time there's a return_data.
Merge pull request #7939 from wari/patch-1

print_jobs was duplicating results