git4idea: IDEADEV-33099: non-git files are now handled more gracefully