set HOME and USER since gitlab seems to need it

GitLab after 6.6 version started looking for /root/.gitconfig, either because of HOME or USER. Set them in the process environment.