Prevent potential invalid redirect exception when using get_wiki_page.