git-gui: Don't crash in ask_popup if we haven't mapped main window yet