avoid undefined warnings if $ENV{HOME} is not defined (eg: running in apache)