Fix URL::locale() when locale is not into url

Signed-off-by: Mathieu Doyon <mathieu.doyon@studiofrenetic.com>