Check return code of git pull to avoid false positives

Change-Id: I20729fd5ff1093e8729cdd108e9010ae133c9b1f
Merge "Check return code of git pull to avoid false positives"