Skip directory if it has already been found, or its symlink