Fix rbenv updating

--git-dir doesn't work right (it needs the .git directory) and you also need to change the working tree, or else it will pull into `pwd`. This method should be much more "foolproof".