Add getOptionalEnvVar helper
#4799
test-codeql-bundle-all.yml
on: pull_request
Matrix: CodeQL Bundle All
getOptionalEnvVar helper
#4799