Make WikidataItemGenerator work if page is already on the repo
Make WikidataItemGenerator work if page is already on the repo

Bug: https://sourceforge.net/p/pywikipediabot/bugs/1653/
Change-Id: Ia9916450a077f6604a3bc3649da4715a280e5b52

happy5214/pywikibot-core,VcamX/pywikibot-core,trishnaguha/pywikibot-core,jayvdb/pywikibot-core,npdoty/pywikibot,emijrp/pywikibot-core,wikimedia/pywikibot-core,Darkdadaah/pywikibot-core,hasteur/g13bot_tools_new,TridevGuha/pywikibot-core,h4ck3rm1k3/pywikibot-core,hasteur/g13bot_tools_new,smalyshev/pywikibot-core,PersianWikipedia/pywikibot-core,Darkdadaah/pywikibot-core,magul/pywikibot-core,happy5214/pywikibot-core,h4ck3rm1k3/pywikibot-core,hasteur/g13bot_tools_new,icyflame/batman,wikimedia/pywikibot-core,magul/pywikibot-core,jayvdb/pywikibot-core,darthbhyrava/pywikibot-local,xZise/pywikibot-core,valhallasw/pywikibot-core,npdoty/pywikibot