ls-tree: match the test to the new semantics.