config, gitignore: failure to access with ENOTDIR is ok