Make git-cherry handle root trees