fixed problem with wms getCapabilities 1.1.x for specific workspace, if layer was not in workspace it was set to null by wrapper and cause nullpointer in immutablelist