Finder short circuit if path is not a dir
Finder short circuit if path is not a dir

I think we should check here for `is_dir` instead of simply `file_exists`. If there is no directory, there is no need to instantiate Finder object.
RunOpenCode/GeneratorBundle,ksn135/GeneratorBundle,symfony2admingenerator/GeneratorBundle,ksn135/GeneratorBundle,ksn135/GeneratorBundle,RunOpenCode/GeneratorBundle,RunOpenCode/GeneratorBundle,symfony2admingenerator/GeneratorBundle,symfony2admingenerator/GeneratorBundle