bugfix: handle empty 'qstat' output