Fix git_reset_hard task