Fixed bug: when use option -g and pkg exists in GOPATH but does not in repos, err shows dir not exists in repos