Fix project root in settings

This fixes a bug introduced when refactoring settings in
4c4d6fb1e11437b0baf1f591988bc853784c4a5e.