[ALOY-783] get correct deploy type in hook for android builds