git-gui: Makes chooser set 'gitdir' to the resolved path