agent falls back to fresh clone when git pull fails