DirectoryIndexer: be nice about classes we know nothing about

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TO-UNDO
WIP: DefaultSingletonService: allow filtering getInstances()

yadda yadda

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>