Fixed bug on trusted keys.

The keyring defined in the settings was not selected during the import
process. This caused the use of the user local keyring.