dont use su, pass user/group to exec and let puppet handle it instead

Changes taken from the following fork
https://github.com/natgeo/puppet-git