gitweb: fix warnings in PATH_INFO code and add export_ok/strict_export