Fix: Avoid infinite loop caused by a broken theme manifest file