bots: Fix ability to prioritize bots with priority or blocked labels
bots: Fix ability to prioritize bots with priority or blocked labels

These labels should be used to influence what the bots do, but I
regressed this functionality in #6704

Closes #9458
mareklibra/cockpit,mareklibra/cockpit,cockpit-project/cockpit,cockpituous/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,andreasn/cockpit,mareklibra/cockpit,martinpitt/cockpit,mvollmer/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,deryni/cockpit,garrett/cockpit,cockpituous/cockpit,cockpit-project/cockpit,andreasn/cockpit,garrett/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,garrett/cockpit,SotolitoLabs/cockpit,garrett/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,andreasn/cockpit,deryni/cockpit,deryni/cockpit,cockpit-project/cockpit,andreasn/cockpit,deryni/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,deryni/cockpit,garrett/cockpit,cockpituous/cockpit,deryni/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,deryni/cockpit,mvollmer/cockpit,mareklibra/cockpit,mareklibra/cockpit,martinpitt/cockpit,cockpituous/cockpit,andreasn/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,andreasn/cockpit