Homebrew inexplicably checks out repos without the `main` branch when it builds a formula. That breaks `script/version`, which breaks `mas version`, which breaks Homebrew builds.