Define REPO_DIR environment variable