Changed git update detection to better manage access errors