git4idea: Fix to problem with NPE: Directory index is not initialized yet for Project