If not a layer group use the layer name

fix #1030
again :-)
Bigre, how can it working in my test ...