fix: folders missing from list
Cherry-pick for:
- !407 (merged), new data partitions in Azure will have a bug on the ls API without this fix.
- !409 (merged), new data partitions in Azure will have a bug on the ls API without this fix.
- !421 (merged), to fix the build on the release branch.
Edited by Sacha Brants