Change logging statement when HEAD request fails
Merge remote-tracking branch: upstream/master