
Today we get a sorbet error when the user opts out, because `json` is
`{}`, so `json["private"]` is `nil`.
Given this function is used to check whether to send analytics, I assume
we should default to treating the repo as a private repo.
Refs: 8ef7a9dbd4/Library/Homebrew/utils/github/api.rb (L276)
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.