It's set to `None` if the switch is off a few lines above. I'll add a comment.