Improve error messages that are printed when the user's home directory cannot be determine

Signed-off-by: Mattias Andrée <maandree@operamail.com>