Change to getCleanRoute function

Prevent accidental replacement of language like strings that aren’t at the beginning of the path.

I don't sees this as likely to happen, but you never know what might arise; and it's probably best to be safe.