Avoid crashing when selecting a key on the command-line and there already is a key stored in the configuration.