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.