Only visit the LevelDB directory if configured.