Fix not using git.bin_path in config.

Closing #3614" and "Closing #3574.