Fix issue where clicking a repo in the menu would not actually pick it.