Fix possible RuntimeException if Git config files could not be read