should we not add a check to see if the extension has a configuration, you can also have an extension without configuration, in that case the exception should also be thrown imo