Handle invalid YAML config