Handle missing public keys.
Fixed a missing import.
Merge pull request #8 from cogumbreiro/master

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