[ALOY-654] Only execute legacy python plugin is new CLI hook is not executed

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