gpg: fix incorrect fingerprint being read from key

If GnuPG includes subkey fingerprints in its output, the fingerprint
of the primary key gets overwritten.  Use the first fingerprint
encountered.