Remove whitespace in stdout

 Remove whitespace/escape chars to prevent potentially zero length tuple return with a stdout.strip() call