When running binwalk in non-interactive session some env variables may not be set. This causes binwalk to fail to correctly determine user's home directory. This commit fixes that (at least for linux systems).