make log level threshold check logic more readable.
Use gzip compression for stubbs:archive --archive rpm.

Fixes #172