Allow $GOPATH as a proxy for $PROJECT/.gogo.

Thanks to @rogpeppe for the suggestion.
gofmt and fix to logic
add log.Warnf
use log.Warnf to note .gogo missing