Move Repo and HackedRefs out of cmd/gopkg.