[fix] findmanifest should prioritize main folder manifests
Merge pull request #1842 from phproberto/manifest

[fix] findmanifest should prioritize main folder manifests