##### SUMMARY

We are running `ansible-test coverage` from the devel branch of Ansible on the `community.kubernetes` collection. It seems like sometime between yesterday morning and today, something in Ansible changed that is causing the error:

```
'Namespace' object has no attribute 'remote_endpoint'
```

See: https://github.com/ansible-collections/community.kubernetes/runs/1025104583?check_suite_focus=true#step:6:17

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION

```paste below
devel (installed via pip)
```

##### CONFIGURATION

```paste below
N/A
```

##### OS / ENVIRONMENT

Ubuntu 20.04 (GitHub Actions CI)

##### STEPS TO REPRODUCE

```
# Inside the collection.kubernetes directory:
pip install https://github.com/ansible/ansible/archive/devel.tar.gz
ansible-test integration --docker -v --color --retry-on-error --python 3.6 --continue-on-error --diff --coverage
ansible-test coverage xml -v --requirements --group-by command --group-by version
```

##### EXPECTED RESULTS

Coverage report is generated.

##### ACTUAL RESULTS

```
Run ansible-test coverage xml -v --requirements --group-by command --group-by version
  ansible-test coverage xml -v --requirements --group-by command --group-by version
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.6.11/x64
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.11/x64/bin/ansible-test", line 28, in <module>
    main()
  File "/opt/hostedtoolcache/Python/3.6.11/x64/bin/ansible-test", line 24, in main
    cli_main()
  File "/opt/hostedtoolcache/Python/3.6.11/x64/lib/python3.6/site-packages/ansible_test/_internal/cli.py", line 159, in main
    config = args.config(args)  # type: CommonConfig
  File "/opt/hostedtoolcache/Python/3.6.11/x64/lib/python3.6/site-packages/ansible_test/_internal/coverage/__init__.py", line 59, in __init__
    super(CoverageConfig, self).__init__(args, 'coverage')
  File "/opt/hostedtoolcache/Python/3.6.11/x64/lib/python3.6/site-packages/ansible_test/_internal/config.py", line 99, in __init__
    self.remote_endpoint = args.remote_endpoint  # type: t.Optional[str]
AttributeError: 'Namespace' object has no attribute 'remote_endpoint'
```
filename,  
        modules=None,  
        collection_search_re=None,  
        collection_sub_re=None,  
):  
    """Convert the given code coverage path to a local absolute path and return its, or None if the path is not valid."""
    ansible_path = os.path.abspath('lib/ansible/') + '/'
    root_path = data_context().content.root + '/'
    integration_temp_path = os.path.sep + os.path.join(ResultType.TMP.relative_path, 'integration') + os.path.sep
    if modules is None:
        modules = {}
    if '/ansible_modlib.zip/ansible/' in filename:
        
        new_name = re.sub('^.*/ansible_modlib.zip/ansible/', ansible_path, filename)
        display.info('%s -> %s' % (filename, new_name), verbosity=3)
        filename = new_name
    elif collection_search_re and collection_search_re.search(filename):
        new_name = os.path.abspath(collection_sub_re.sub('', filename))
        display.info('%s -> %s' % (filename, new_name), verbosity=3)
        filename = new_name
    elif re.search(r'/ansible_[^/]+_payload\.zip/ansible/', filename):
        
        new_name = re.sub(r'^.*/ansible_[^/]+_payload\.zip/ansible/', ansible_path, filename)
        display.info('%s -> %s' % (filename, new_name), verbosity=3)
        filename = new_name
    elif '/ansible_module_' in filename:
        
        module_name = re.sub('^.*/ansible_module_(?P<module>.*).py$', '\\g<module>', filename)