Fix some CHEF-3694 warnings when using with ruby_build

This is from git-core package redefinition
Merge pull request #55 from trinitronx/fix-CHEF-3694-warning

Fix some CHEF-3694 warnings when using with ruby_build