Changed libkey check to look for any libkey library file and do an 'rpm -qf' on it to see f it belongs to an RPM.