Try to restore the original $PATH contents

Git prefixes $PATH with its own values. These cause rvm/rbenv to stop working, and make the
hook always use the system ruby if there's one in /usr/bin. This tries to undo this modification.