cert-chooser: don't clear the key when user sets non-pkcs12 certificate
If the user sets a non-pkcs12 certificate we wrongly clear the key; fix this.
Fixes: 7822b375 ('cert-chooser: improving for handling certificate selection')
If the user sets a non-pkcs12 certificate we wrongly clear the key; fix this.
Fixes: 7822b375 ('cert-chooser: improving for handling certificate selection')