read_early_config(): avoid .git/config hack when unneeded