Fixed a crash with root user without ~/.ssh/authorized_keys