Puppet exec changes break git::user creation

With newer versions of puppet exec calls have their environments stripped.  Most importantly the $HOME is removed.  As a result git::user resources fail.

However puppet did add a shell provider to the exec provider system that maintains these environment variables.

Switch git::user to use the shell provider for exec.

Question, how does this affect prior versions of puppet and this module?