read-tree A B C: do not create a bogus index and do not segfault