Revert custom theme name replace handler.

The existing handler should be able to handle it just fine already.

See c6886abb20c0de89007a8b324e57834d6b6ed10f.