fix project_map == null in case of url rewriting

As enabling  url rewriting : 
RewriteRule ^/maps/([^\.]+)$ /qgis-web-client/site/qgiswebclient.html [PT] 
the variable project_map cannot compute. 
This is a fix. 
Regards