Fix confusing git-update-ref error message