Fix GOPATH parsing for database copy