### 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
```

aix_facts = {}
        rc, out, err = self.module.run_command("/usr/bin/oslevel")
        data = out.split('.')
        aix_facts['distribution_major_version'] = data[0]
        if len(data) > 1:
            aix_facts['distribution_version'] = '%s.%s' % (data[0], data[1])
            aix_facts['distribution_release'] = data[1]
        else:
            aix_facts['distribution_version'] = data[0]
        return aix_facts
    def get_distribution_HPUX(self):
        hpux_facts = {}
        rc, out, err = self.module.run_command(r"/usr/sbin/swlist |egrep 'HPUX.*OE.*[AB].[0-9]+\.[0-9]+'", use_unsafe_shell=True)
        data = re.search(r'HPUX.*OE.*([AB].[0-9]+\.[0-9]+)\.([0-9]+).*', out)
        if data:
            hpux_facts['distribution_version'] = data.groups()[0]
            hpux_facts['distribution_release'] = data.groups()[1]
        return hpux_facts
    def get_distribution_Darwin(self):
        darwin_facts = {}
        darwin_facts['distribution'] = 'MacOSX'
        rc, out, err = self.module.run_command("/usr/bin/sw_vers -productVersion")
        data = out.split()[-1]
        if data:
            darwin_facts['distribution_major_version'] = data.split('.')[0]
            darwin_facts['distribution_version'] = data
        return darwin_facts
    def get_distribution_FreeBSD(self):