Fixes #6651,bz1094986 - Disable Sync without repo url

Added code not allow syncing on repositories without a URL.
Also, it kind of seems inconsistent that a repository which returns true for `syncable?` might not show up when I query `Repository.syncable`.