When creating a new page with the import_text puppet role introduced in T88872 / c189180, {{fullurl}} will resolve to localhost instead of the expected 127.0.0.1:<port>. (Purging or editing the page from the web interface fixes this.)
Per @bd808, this is probably caused by $wgServer = WebRequest::detectServer(); in settings.d/wikis/CommonSettings.php getting confused when executed from a maintenance script.
It would be nice to fix server detection, but if that's not feasible, we could just invalidate the cache from import_text by nulling out page_touched for the page.