Correctly handle undefined GOPATH/GOROOT

Closes #49.
Merge pull request #50 from VividCortex/issues/49-env-vars

Correctly handle undefined GOPATH/GOROOT