git-gui: Don't select the wrong file if the last listed file is staged.