fix rename_system_url() for the case of somebody who has no local xchan_url (was cloned from elsewhere and is not primary)