gracefully handle theme switching off. refs #1413
simply return the response
Merge pull request #1494 from craigh/themeswitcherfix

gracefully handle theme switching off. refs #1413