Unsetting GIT_DIR after the relevant deploy stats have been set so taht it does not interfere with the git checkouts done by pip