fix root home without user environment variable
fix root home without user environment variable

In some contexts (eg while synology DSM boots), the environment variables HOME LOGNAME USER etc are not set, but if process.getuid() is zero, we can still return "/root"
sindresorhus/os-homedir