get the REPO_BRANCH from build variable