[2495] avoid trying to import directories to omnivore