Revert "Merge branch '13784-validate-variables-for-masking' into 'master'"

What does this MR do?

Reverts https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25476 as it makes the EE to fail with:

What are the relevant issue numbers?

Resolves https://gitlab.com/gitlab-org/gitlab-ee/issues/10738 https://gitlab.com/gitlab-org/gitlab-ee/issues/10740

Does this MR meet the acceptance criteria?

Merge request reports

Loading