Return the correct variable from the components version
For CNG releases
Fixes: https://gitlab.com/gitlab-org/release-tools/issues/331
Followup to: !747 (merged)
This should actually resolve the issue. I used this change to re-run the CNG RC release as seen here: gitlab-org/build/CNG@667db1b1