Fixing ProviderName check that fails because it returns an empty string

Hey Rob,

I didn't have a providerName specified in my connection string and it found an empty string and didn't use the default providerName.

Thanks,
Tim