I think this might be related to https://issues.apache.org/jira/browse/SLING-10432
When you have a path in which several nodes have some alias, resourceResolver.map(path) will return the wrong result in some cases.
SLING-10432 was fixed this happen more often, now the problem is reduced, but persist.
I have a path /content/uw/ecrm/germany/www/de/home/laundry
of those de, home and laundry have aliases (dealias,homealias & laundryalias, respectively).
when calling :
Note de instead of dealias.
It only happens when all map receives only aliases, then the first segment with alias is not used. i.e. if I remove the alias from de, homealias would then not be used
calling rr.map() with just some of the paths using aliases, it seems to work fine now