Reverting to using su as Exec strips environment variables required to run git as a user other than root.