taskstatus: fix output in case there are no tasks