Fix for #9058 and #8941, environment setup of RAILS_RELATIVE_URL_ROOT was actually never used