[COOK-2760] installing runit failed on executing chef-solo under sudo

sudo command does not change $HOME variable, then chef could not
found RPM file correctly if it runs under sudo.