Remove unused head_sha variable.