config: Enhance config_rename_section error handling

Improved error messages

/cc @ethomson