##### 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'
```
choices=('only', 'skip'),
                       help=argparse.SUPPRESS)
    add_extra_docker_options(units, integration=False)
    sanity = subparsers.add_parser('sanity',
                                   parents=[test],
                                   help='sanity tests')
    sanity.set_defaults(func=command_sanity,
                        targets=walk_sanity_targets,
                        config=SanityConfig)
    sanity.add_argument('--test',
                        metavar='TEST',
                        action='append',
                        choices=[test.name for test in sanity_get_tests()],
                        help='tests to run').completer = complete_sanity_test
    sanity.add_argument('--skip-test',
                        metavar='TEST',
                        action='append',
                        choices=[test.name for test in sanity_get_tests()],
                        help='tests to skip').completer = complete_sanity_test
    sanity.add_argument('--allow-disabled',
                        action='store_true',
                        help='allow tests to run which are disabled by default')
    sanity.add_argument('--list-tests',
                        action='store_true',
                        help='list available tests')
    sanity.add_argument('--python',
                        metavar='VERSION',
                        choices=SUPPORTED_PYTHON_VERSIONS + ('default',),
                        help='python version: %s' % ', '.join(SUPPORTED_PYTHON_VERSIONS))
    sanity.add_argument('--enable-optional-errors',