Fix if the settings is a directory inside the project.