Improve error message when no keypair found.