Fix get_local_git_config expect in unit test