add GOPATH validation in flags.go