Fix error when theme config is missing