Generation of color rules for dependency scanning messages did not account for disabling color at generation time. See issue #7814.