Fixes #10711 - use basename for the new added vector layer

@jef-n I think so, maybe I am missing something because the following changes for me could be also enough :^)

```c++
else if ( sublayers.count() > 0 ) // there is 1 layer of data available
{
  layer->setLayerName( base );
  myList << layer;
}
```