Fallback to original behaviour on IOException
Always return full SHA1 hash of HEAD
Fallback to the original behaviour on any error invoking git plumbing