A Gitlab security update will be applied on March 29th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.
Do not encode the path for a shell until after we check that it exists. Fixes: #18501