##### 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'
```
config=CoverageConfig)
    add_extra_coverage_options(coverage_combine)
    coverage_erase = coverage_subparsers.add_parser('erase',
                                                    parents=[coverage_common],
                                                    help='erase coverage data files')
    coverage_erase.set_defaults(func=command_coverage_erase,
                                config=CoverageConfig)
    coverage_report = coverage_subparsers.add_parser('report',
                                                     parents=[coverage_common],
                                                     help='generate console coverage report')
    coverage_report.set_defaults(func=command_coverage_report,
                                 config=CoverageReportConfig)
    coverage_report.add_argument('--show-missing',
                                 action='store_true',
                                 help='show line numbers of statements not executed')
    coverage_report.add_argument('--include',
                                 metavar='PAT1,PAT2,...',
                                 help='include only files whose paths match one of these '
                                      'patterns. Accepts shell-style wildcards, which must be '
                                      'quoted.')
    coverage_report.add_argument('--omit',
                                 metavar='PAT1,PAT2,...',
                                 help='omit files whose paths match one of these patterns. '
                                      'Accepts shell-style wildcards, which must be quoted.')
    add_extra_coverage_options(coverage_report)
    coverage_html = coverage_subparsers.add_parser('html',
                                                   parents=[coverage_common],
                                                   help='generate html coverage report')
    coverage_html.set_defaults(func=command_coverage_html,
                               config=CoverageConfig)