Revert to old implementation of Index.read_tree (should take SHA of tree object, not of commit).