[FIX] imagetransfer: Compare image repositories
[FIX] imagetransfer: Compare image repositories

It checks if the file is already shared and skips transferring them. But that
is assuming the target site is using the same image repository.

Bug: T87082
Change-Id: I3da1f7b5a8738b649f0eec2da330518f9efb3b35
npdoty/pywikibot,npdoty/pywikibot,wikimedia/pywikibot-core,PersianWikipedia/pywikibot-core,happy5214/pywikibot-core,magul/pywikibot-core,Darkdadaah/pywikibot-core,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,happy5214/pywikibot-core,jayvdb/pywikibot-core,jayvdb/pywikibot-core,hasteur/g13bot_tools_new,darthbhyrava/pywikibot-local,hasteur/g13bot_tools_new,magul/pywikibot-core,smalyshev/pywikibot-core,h4ck3rm1k3/pywikibot-core,h4ck3rm1k3/pywikibot-core,Darkdadaah/pywikibot-core