Set $HOME to avoid error in erlexec