only check for a question of noqanda regex match if output if non-empty

... and add debug log message

I ran into issues without this because it took a while before an interactive started spewing output (with OpenFOAM-Extend).

@stdweird: please review