Fix for geofence webapp not respecting kml and other geoserver profiles.

See https://github.com/georchestra/georchestra/issues/564 for details