widget.py: Fix stacktrace on early pipeline failure This happened when no queues were setup and app.print_summary was called.