[WFCORE-57-fix] : Fixing issue with squatrter resources aliases.

When the alias isn't on the child name but on multiple PathElements then we don't detect it properly.
Fixing this case.

Jira : https://issues.jboss.org/browse/WFCORE-57
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1070214