adding pkg_reason_type and pkg_not_reason_type conditions, RT#20084