Adjust Koji config values for production
Adjust logarithm expression when calculating priorities

Make sure that logarithmed number is strictly greater than zero.  This
avoids sqlalchemy errors like: (DataError) cannot take logarithm of a
negative number