Check for yum presence rather than rely on CI tags
From the looks of it, the CI_RUNNER_TAGS format may have changed to be '["tag1", "tag2"]' so doing the actual check will not work.
Hence rather than relying on this environment variable content and format, check whether yum is present on the runner and use it if so.
This fixes the issue from beat/beat.editor> pipelines not running because there are now missing packages.