registration: Improve duplicate config setting exception