Fix stage label detection to disallow nested scoped labels
It was brought to my attention that some nested scoped labels starts as a stage label, but then have an additional scoping, e.g. ~devops::release::feature flags
(currently only exists for the gitlab-ee
project).
We should fix the logic to only detect stage labels matching something like /\Adevops::\w+\z/
.