cpod: use basename(1) to determine GOPATH