Fix output for the recursive git pull function