updated the REPO variable so it has the parent dir of .git, not .git (messages in hipchat said the repo was '.git')