More reliably get current git sha.