### Summary

Ansible no longer returns distribution facts for my Amazon Linux 2 instances after #73767.

### Issue Type

Bug Report

### Component Name

setup

### Ansible Version

```console (paste below)
$ ansible --version
ansible [core 2.11.0b2.post0]  (detached HEAD 30c465c1a9) last updated 2021/03/17 18:53:46 (GMT -400)
  config file = /home/ec2-user/ansible-aws-coll/ansible/ansible.cfg
  configured module search path = ['/home/ec2-user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/ec2-user/tmp/ansible/lib/ansible
  ansible collection location = /home/ec2-user/ansible-aws-coll/ansible/collections
  executable location = /home/ec2-user/tmp/ansible/bin/ansible
  python version = 3.8.5 (default, Feb 18 2021, 01:24:20) [GCC 7.3.1 20180712 (Red Hat 7.3.1-12)]
  jinja version = 2.11.3
  libyaml = True
```


### Configuration

```console (paste below)
$ ansible-config dump --only-changed
DEVEL_WARNING(env: ANSIBLE_DEVEL_WARNING) = False
```


### OS / Environment

Amazon Linux 2

### Steps to Reproduce

```
ansible localhost -m setup | grep distribution
```


### Expected Results

With 78d3810fdf:
```
[WARNING]: No inventory was parsed, only implicit localhost is available
        "ansible_distribution": "Amazon",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/system-release",
        "ansible_distribution_file_variety": "Amazon",
        "ansible_distribution_major_version": "2",
        "ansible_distribution_release": "NA",
        "ansible_distribution_version": "2",
```

### Actual Results

```console (paste below)
[WARNING]: No inventory was parsed, only implicit localhost is available
```

freebsd_facts = {}
        freebsd_facts['distribution_release'] = platform.release()
        data = re.search(r'(\d+)\.(\d+)-(RELEASE|STABLE|CURRENT|RC|PRERELEASE).*', freebsd_facts['distribution_release'])
        if 'trueos' in platform.version():
            freebsd_facts['distribution'] = 'TrueOS'
        if data:
            freebsd_facts['distribution_major_version'] = data.group(1)
            freebsd_facts['distribution_version'] = '%s.%s' % (data.group(1), data.group(2))
        return freebsd_facts
    def get_distribution_OpenBSD(self):
        openbsd_facts = {}
        openbsd_facts['distribution_version'] = platform.release()
        rc, out, err = self.module.run_command("/sbin/sysctl -n kern.version")
        match = re.match(r'OpenBSD\s[0-9]+.[0-9]+-(\S+)\s.*', out)
        if match:
            openbsd_facts['distribution_release'] = match.groups()[0]
        else:
            openbsd_facts['distribution_release'] = 'release'
        return openbsd_facts
    def get_distribution_DragonFly(self):
        dragonfly_facts = {
            'distribution_release': platform.release()
        }
        rc, out, dummy = self.module.run_command("/sbin/sysctl -n kern.version")
        match = re.search(r'v(\d+)\.(\d+)\.(\d+)-(RELEASE|STABLE|CURRENT).*', out)
        if match:
            dragonfly_facts['distribution_major_version'] = match.group(1)
            dragonfly_facts['distribution_version'] = '%s.%s.%s' % match.groups()[:3]
        return dragonfly_facts
    def get_distribution_NetBSD(self):