made puppet more robust for when there is a git pull error