Test if $T is empty

Change-Id: I7b85d3b169e943f4d99fc78a98dcceeef9905026
Test if push needed

Change-Id: Ia74fdd4ecd5334df978c80633879d60324cab6a6
Update auto for cm-10.2

Change-Id: I64e631ddf87db92397287bebe378965b0fedb09c