fix bug when retrieving user's home (specially when different from /home/{user})