properly support git in build/i18n-init.sh