Raise an `ImproperlyConfigured` error in this case.