Fix bug with ls-tree git command