[pywikibot] Using listpages with redirects