Added validation when adding variable name in the nursery settings to make sure there is no duplicate

Reviewer: Cyrus Casada

Issue: GCP-8892