Two comments on this:

Using global match variables like `$1` isn't threadsafe; it's better to use an explicit MatchData variable:

```ruby
matchdata = File.read('/etc/os-release').match /^NAME=["']?(.+?)["']?$/
matchdata[1]
```

In addition, this regular expression is pretty aggressive. Do we really want to strip out numbers or underscores?

As mentioned above if this is a fallback option that would be fine, but I would like to avoid defaulting to the more intrusive option.