Reporting: Fix traceback when run interactively

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>