Fix GetConsoleOutput crash when we get no output