[1.5.x] Fixed #19833 -- Fixed import parameter encoding in get_runner

Thanks Danilo Bargen for the report.
Backport of 63236161 from master.