Use a different global to track fails

We use lock failures and git failures for different things, so do not
conflate them.