Repository: go
Issue: cmd/go: get: can't query version "patch" of module X: no existing version is required
Labels: NeedsInvestigation,GoCommand

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.17.2 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes I think this is the latest release.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/anacrolix/Library/Caches/go-build"
GOENV="/Users/anacrolix/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/anacrolix/go/pkg/mod"
GONOPROXY="github.com/anacrolix"
GONOSUMDB="github.com/getlantern"
GOOS="darwin"
GOPATH="/Users/anacrolix/go"
GOPRIVATE="github.com/getlantern"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/anacrolix/src/go1.17"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/anacrolix/src/go1.17/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.17.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/anacrolix/go/src/github.com/anacrolix/torrent/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/rx/s8fbr8m17nvg88dq7lkblhz00000gn/T/go-build2066949857=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

Ran `go get -u=patch` in any of my repos (anacrolix/torrent and anacrolix/dht for example).

### What did you expect to see?

Some noise about modules being updated to more recent patch releases.

### What did you see instead?

```
$ go get -u=patch
go get: can't query version "patch" of module github.com/benbjohnson: no existing version is required
go get: can't query version "patch" of module github.com/bradfitz: no existing version is required
go get: can't query version "patch" of module github.com/edsrzf: no existing version is required
go get: can't query version "patch" of module github.com/huandu: no existing version is required
go get: can't query version "patch" of module github.com/pkg: no existing version is required
go get: can't query version "patch" of module github.com/rs: no existing version is required
go get: can't query version "patch" of module github.com/spaolacci: no existing version is required
go get: can't query version "patch" of module github.com/willf: no existing version is required
go get: can't query version "patch" of module github.com/willf: no existing version is required
go get: can't query version "patch" of module golang.org/x/sync/singleflight: no existing version is required
go get: can't query version "patch" of module golang.org/x/sys/internal/unsafeheader: no existing version is required
go get: can't query version "patch" of module golang.org/x/sys/unix: no existing version is required
go get: can't query version "patch" of module golang.org/x/sys/windows: no existing version is required
go get: can't query version "patch" of module golang.org/x/time/rate: no existing version is required
```