##### SUMMARY
Happened here: https://github.com/ansible-collections/community.general/pull/341

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION
```paste below
devel
```

return self.basename
    @property
    def object_path(self):
        return self.path
    def validate(self):
        super(PythonPackageValidator, self).validate()
        if self.basename in self.REJECTLIST_FILES:
            return
        init_file = os.path.join(self.path, '__init__.py')
        if not os.path.exists(init_file):
            self.reporter.error(
                path=self.object_path,
                code='subdirectory-missing-init',
                msg='Ansible module subdirectories must contain an __init__.py'
            )
def setup_collection_loader():
    collections_paths = os.environ.get('ANSIBLE_COLLECTIONS_PATH', '').split(os.pathsep)
    _AnsibleCollectionFinder(collections_paths)
def re_compile(value):
    """
    Argparse expects things to raise TypeError, re.compile raises an re.error
    exception
    This function is a shorthand to convert the re.error exception to a
    TypeError
    """
    try:
        return re.compile(value)
    except re.error as e:
        raise TypeError(e)
def run():