Find a prefixed layername in a local capabilities

Since the upgrade of GS to 2.3.2, a local capabilities request returns the layer name without a prefix in the xml capabilities document.

Exemple :

http://localhost:8080/geoserver/myws/wms?service=wms&request=getcapabilities

  * before :

        <name>myws:layer1</name>

  * now

        <name>layer1</name>

So i you have a prefixed layername in your WMC (for example a layer coming from Goenetwork), then the hydrateLayer method will send an error message because it can't find the prefixed layer name in the capabilities (because in the local capabilities, the layername has no prefix).