Move setting ignore site flag before resolving locale