Merge pull request #4695 from nelhage/git_pkt-type-confusion Fix type confusion in git_smart__connect