rewrite of themePath to respect config setting if not overridden