Fixed EZP-20494: niceurls create wrong path on multiple siteaccess configuration

When fetchPathByActionList() accepted the new $locale parameter in
a890ae54db43b6616f0f0c53bd1abf0ba3cda06f, the $locale was used for the
whole path instead of the very latest element. By doing so, the method
did not respect the actual SA configuration regarding preferred
languages.

This issue has been introduced while fixing EZP-17632.