trltetmo: Fix if/then/else fail.

Change-Id: I7ae25707edcff2e5c5edddcb7b5cdf5ef35a8717