Only generate dummy athena job if there are no jO to run on
Currently if there are more jO than log.generate.short
files dummy jobs are created (see !870 (merged)).
This MR changes this so that the dummy job is only created when there are no jO to run on.