Fix bugs relating to install of repositories when user chooses one that is already installed.