Make policies retirect locale-prefix aware

[See comment #4 on Bug 1025673](https://bugzilla.mozilla.org/show_bug.cgi?id=1025673#c4)