Merge pull request #314 from ulsdevteam/fix-custom-theme-for-site

*8913* Prevent fatal error when Custom Theme plugin is used in Site Context