Fix not using git.bin_path in config.

Closing #3614" and "Closing #3574.
Merge pull request #3687 from hiroponz/fix-not-using-git-bin-path

Fix not using git.bin_path in config.