harvest_template.py: Catch InvalidTitle
harvest_template.py: Catch InvalidTitle

Change-Id: If7607297bb6911bbdaa955743b6db14b91af97c9

wikimedia/pywikibot-core,happy5214/pywikibot-core,happy5214/pywikibot-core,magul/pywikibot-core,npdoty/pywikibot,magul/pywikibot-core,PersianWikipedia/pywikibot-core,wikimedia/pywikibot-core,npdoty/pywikibot