Simplified getting name of provider
Merge pull request #123 from mdxs/fix_get_provider_name

Simplified getting name of provider