support for setting REPO_BRANCH is restored