Remove extra newline from yaml output
I split this into two commits, one for the actual newline removal, and one for issues I found, ruining the yaml output when some errors were outputted. Fixes: #4772
I split this into two commits, one for the actual newline removal, and one for issues I found, ruining the yaml output when some errors were outputted. Fixes: #4772