Strict check for reading satic config.

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