Fixes #6651,bz1094986 - Disable Sync without repo url

Added code not allow syncing on repositories without a URL.
I can see the difference in the code but I don't understand the difference between the two just by the name alone.