more legible error message in config.get/set

This patch would be better to developers.