Fix getURLFromRouteNameTranslated

If hideDefaultLanguageInRoute is true getURLFromRouteNameTranslated
should hide the default locale