allow KeyManager to recover from incompatible agents.

This is for example a problem with Vagrant on Windows: https://github.com/mitchellh/vagrant/issues/1455