db_mananger: fix loading geometryless tables (fixes #10566)