fixes #193: output_format_yaml[[1]] might be NULL, in which case parse(text = NULL) will hang and wait for stdin