Yes, URL schema check is better, see https://github.com/yast/rubygem-scc_api/blob/master/lib/scc_api/connection.rb#L143