releasetools: bring more inline with CM

Hopefully this will fix assert check errors when flashing zips

Change-Id: Ib9ce51ff1a0d0a4f7ad9d97885c748767db1c35a