'make run' error

I have installed grafana using the developer guide, but make run outputs this error message:

go: github.com/unknwon/bra@v0.0.0-20190805204333-bb0929b6cca0: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/willemmerson/go/pkg/mod/cache/vcs/b28db4658570b1ae00929abdb58399b9353cdd8318392ebf3df4edd3b3a6a7da: exit status 128:
	fatal: 'origin' does not appear to be a git repository
	fatal: Could not read from remote repository.
	
	Please make sure you have the correct access rights
	and the repository exists.
make: *** [Makefile:50: scripts/go/bin/bra] Error 1

I am not a go programmer so I am probably doing something very stupid.
I installed go in Fedora using dnf install go.

Output of go env:

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/willemmerson/.cache/go-build"
GOENV="/home/willemmerson/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/willemmerson/go"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/lib/golang"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build902577158=/tmp/go-build -gno-record-gcc-switches"

go version go1.14.3 linux/amd64

I fixed it by removing cache: rm -rf ~/go/pkg/mod/cache/vcs/*