Handle invalid theme return in addBlock method