Fixed TISTUD-4885: NPE in GitIndex.refresh().