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

Ticket: [https://jira.appcelerator.org/browse/ALOY-783](https://jira.appcelerator.org/browse/ALOY-783)