Merge branch 'cernops/1.5.0/feature/001-koji-build' into cernops/1.5.0/deploy
Fixes #5946 - Only call fact_name_class.maximum if necessary.