Fixes an installation/theme management crash occurring when extraneous files were found in root themes folder (which we introduced in a bad patch 1 package)
(cherry picked from commit ec62a70)