Allow theme to be set to false

I changed this if statement to check if theme is null. This allows for `$this->theme = false` to be used in an action to disable the theme for just that action instead of having to override `getTheme()` and disable it for the entire controller.