Add patches to avoid Git calls during CI