diff --git a/utils/update_checkout/update_checkout/git_command.py b/utils/update_checkout/update_checkout/git_command.py index 1634aa583657..ede7ec5f08ef 100644 --- a/utils/update_checkout/update_checkout/git_command.py +++ b/utils/update_checkout/update_checkout/git_command.py @@ -78,7 +78,7 @@ def run( f"status {str(e.returncode)}, aborting" ) raise GitException( - e.returncode, command, os.path.dirname(repo_path), output + e.returncode, command, os.path.basename(repo_path), output ) except OSError as e: if fatal: