use the collapsed path in the run_cgi method (closes #19435)
3 files changed