Fix PostgreSQL for RHEL 9 in hammer.py
hammer.py fails to install PostgreSQL on RHEL 9 when trying to execute dnf -qy module disable postgresql
.
See Application Streams for information about modules.
This change adds a condition before executing the command to ensure it passes.