return only one url

needed for test=True where compare one URL with an array of URLs failed
Merge pull request #15014 from mcalmer/fix-zypper-url-getter

return only one url