Follow-up fix
Collector: Ignore directories in search method