This was added in Go 1.18 and enabled by default, and causes builds to fail if $builddir is not a repo.