Tidy up Style/FetchEnvVar RuboCop violations
What does this MR do and why?
To be able to enable RuboCop in project, we need to fix violations first.
This fixes Style/FetchEnvVar (https://docs.rubocop.org/rubocop/cops_style.html#stylefetchenvvar) violations.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.