reachable.c::add_one_tree: handle NULL from lookup_tree