Add an abstract environment 'defaults' in config for DRY

Fixes #249 #289.
It is required for the error to be displayed properly.