Changed GOPATH detection to work with only one entry