[FIX] checkimages: Expect NoPage exception
[FIX] checkimages: Expect NoPage exception

In compat the script called `getHash` which returned None if the image is
missing while `latest_file_info` raises a NoPage exception.

The script was previously fixed in 88ad247f and the usage was changed into
`getFileSHA1Sum` which would raise a `TypeError` if the page doesn't exist.

Bug: T105727
Change-Id: I9c39c41b86125ab7eeb1e842faad2a2cecbcb637

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