Avoid NME when result isnt in catalog

We might have situations where the resultset is a transformation, and
the featuretype isnt specified in the geoserver catalog.
Unnessesary code or wrong

There are code outside this function that suggest that this code is
unnessesary.