updated sync to bring up add repository window when no repository is configured