Fix reference to theme error template

This returns the object returned in case of an error in the rules file to the expression that was used before 0ba898cd2, as the change made to this in that commit was clearly an mistake during the rename of the "theme" variable to "themeInfo".