[Pywikibot-commits] [Gerrit] Fix UnboundLocalError - change (pywikibot/core)