A directory is a database, although a one where you don't use SQL to access it. SoSo, just call it a NoSQL database and you're cool again!
The only constraint would be that on a directory the data structures (the schema) are fixed, so they might not be adequate for most cases. But if you can express your problem space in that structure, then it could be just as good.