fix issue with ssh-keygen not generating a homedir properly