use getpwuid for home directory in case environment variable is empty
use getpwuid for home directory in case environment variable is empty

rampantpixels/foundation_lib,rampantpixels/foundation_lib,rampantpixels/foundation_lib,rampantpixels/foundation_lib