Revert "Avoid app install failures from malformed themes"

This reverts commit 180abb6721e5362ffe05433c5d0b3b9c5f7475b0.