Set more exact repository path if when `base_dir` is different from `repo_dir`.