follow go-yaml's lead for replacing master branch with an error.go