Fixed #19833 -- Fixed import parameter encoding in get_runner

Thanks Danilo Bargen for the report.