[ALOY-868] fix deep nesting of <Require>

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