Fixes a crash when the user is missing a public SSH key.