Fixing minor issue in RHEL kernel package logic