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.
Merge branch 'cernops/1.5.0/feature/002-fact_name_if_necessary' into cernops/1.5.0/deploy