Issue #3422537 by bbrala, cmlara, dww, longwave, joachim: Autoresolve cspell GIT_DEPTH issue when diff fails (cherry picked from commit e51adec7)