quick fix for repo_dir var