Make git-p4 work with bare repositories.