Entering an if block does not start a new scope, so in this case the `module = None` doesn't add anything useful.