Fix specs: use head.commit.tree instead of head.tree.