More robust finding of git-wip script in emacs mode