Fix issue #5621, rpm_key doesn't work for el5

This small patch fixes issue #5621 and enables the rpm_key to work on Rhel 5 and derivative distros while still ensuring compatibility with more recent Red Hat ones.  The first part of the patch just adds Python 2.4 support and the second part grabs the keyid from the signature packet listing of the gpg command.