GEOS-5844 fix nulls in SecureCatalog.list

a catalog filter can potentially result in nulls being in the
returned iterator. an example is a LocalWorkspaceCatalogFilter
when a WMS virtual service getcaps request occurs.
Merge pull request #248 from ischneider/GEOS-5844-2.3.x

GEOS-5844 2.3.x