Make check_leftovers work with new mtree (from NetBSD)