Pkg.publish: `git diff-tree` has different output than `git diff`.

This was breaking much of the key logic of Pkg.publish that figures
out and validates what packages have new versions before pushing.