git-gui: fix deleting from the context menu with empty selection