def execute_command_in_project(self, *args, **kwargs):
        # There is a scenario where self.project_directory doesn't exist yet (when a certain repo has never been
        # fetched before on this particular machine). In order to avoid having python barf during this scenario,
        # we have only pass in the cwd if it exists.
        if 'cwd' not in kwargs:
            kwargs['cwd'] = self.project_directory if os.path.exists(self.project_directory) else None
        return super().execute_command_in_project(*args, **kwargs)
If the doc directory is a sibling of the parent of the resource
dataset/ETHPy150Open box/ClusterRunner/app/project_type/git.py/Git.execute_command_in_project--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/DocBuilderTestCase.test_getLinkrelToUncle