Retrieve GOPATH variable from shell.