removed duplicate repository check
added config preference for 'SingleRepository'.  disable the 'connect' menu item when single repository is enabled and repository has been conifgured