fetch-pack: check for valid commit from server