db manager: fix import of geometryless files (fixes #8970)