Fix assert for generic twrp:

Change-Id: Idef28fbdbf3a22a18ed2bd549510ca0af1300dfb