Fix YAML parse error caused by debug logging to stdout