gpg_refresh_keys.py - corrected the logic of removing keys from the list