Allow for more yaml errors when parsing env.