[FIX] Ignore invalid titles
[FIX] Ignore invalid titles

Previously it ignored invalid template titles like parser functions but
not when the error occured in the constructor.

Change-Id: Ibcb011848821fa2392965709771cee7737e67a95

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