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

if not v:
            raise ValueError('Empty string is not a valid version')
        if collection_name == 'ansible.builtin':
            return StrictVersion(v)
        if collection_name is not None:
            return SemanticVersion(v)
        return self._StrictVersion(v)
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_value, traceback):
        if not self.base_module:
            return
        try:
            os.remove(self.base_module)
        except Exception:
            pass
    @property
    def object_name(self):
        return self.basename
    @property
    def object_path(self):
        return self.path
    def _get_collection_meta(self):