git-config: print error message if the config file cannot be read