Add extra error handling, fixes crashes on missing sshPublicKey (issue #14)

Took a little while to track down, hopefully the other changes are good too.
https://github.com/kelseyhightower/pubkeyfs/issues/14