git4idea: IDEADEV-40934: fixed exception