Strict check for reading static config.

The check for dsnClassMap() reading/returning should be strict.