Use jgit for git.properties instead of shelling out

Build is more portable

[#74546134] https://www.pivotaltracker.com/story/show/74546134