Add check for when GOPATH is null
Changed GOPATH detection to work with only one entry
Merge pull request #317 from dlsniper/fix-null-gopath

Add check for when GOPATH is null