Fix git failing to properly check for updates.