indexer: Avoid overriding dir builtin