fix error when access resolve_git_commit