Remove unnecessary theme name sanitation (#10708)

Change-Id: Ib28d4bbf7602017e371c4597733f1558cdb0b796