Prevent undefined errors in TapParser if output from scripts failed (Close #467 )