Fixing TISTUD-4761: Studio freezes on GitIndex.refresh().