Fix a result code which is not handled

At some part the generator doesn't generate
the code to handle the not found result error.

Change-Id: Id4edd2f8b1fa8887e1d41ba72ee20a9073d4bb26