theme.php: Fix reference to invalid variable

Issue #150.