better fix for site_root autodetection - seemingly SCRIPT_URI is not always present