Don't crash if embedded group cannot be loaded (Fix #7872)