[ALOY-862] fix index.xml checks in subfolders

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