Fix #2085 allow editing of broken Yaml file