Calculate home for daemonized jenkins slaves

When started by init, jenkins doesn't have a $HOME env var, which
is needed by git. Calculate one from $USER (via /etc/passwd)

Change-Id: I7e540d2d5f240a65ba9a534c55c6958ef7dfa6c5