fixed wrong usage of strripos function for YaML files lookup

fixed wrong usage of strripos function for YaML files lookup - Symfony Finder Component is used instead