##### SUMMARY
When configuring multiple inventory sources in `ansible.cfg`, you cannot add a space after the comma.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
config

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
ansible 2.10.0.dev0
  config file = /home/alwyn/tmp/inventory-test/ansible.cfg
  configured module search path = ['/home/alwyn/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/alwyn/.local/opt/pyenv/versions/3.8.1/envs/inventory-test/lib/python3.8/site-packages/ansible
  executable location = /home/alwyn/.local/opt/pyenv/versions/3.8.1/envs/inventory-test/bin/ansible
  python version = 3.8.1 (default, Feb 21 2020, 15:48:23) [GCC 9.2.1 20200130]
```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
DEFAULT_HOST_LIST(/home/alwyn/tmp/inventory-test/ansible.cfg) = ['/home/alwyn/tmp/inventory-test/hosts', '/home/alwyn/tmp/inventory-test/ hosts2']
```

##### OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
Any/all (Linux?) platforms. Not sure about Windows.

I'm on Archlinux with kernel 5.5.4-zen1-1-zen.

##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
Configure `default.inventory` in `ansible.cfg` like so:
```
[defaults]
inventory      = hosts-foo, hosts-bar
```

1. Create two inventory files
   - `hosts-foo` with contents
     ```
     [foo]
     localhost
     ```
   - `hosts-bar` with contents
     ```
     [bar]
     localhost
     ```
1. `ansible bar -m ping`

##### EXPECTED RESULTS
<!--- Describe what you expected to happen when running the steps above -->
The `bar` hostgroup is found and the ping module runs against localhost.

##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
The `bar` hostgroup is not found as it tries to find it in `$directory/ hosts-bar` instead of `$directory/hosts-bar`.

<!--- Paste verbatim command output between quotes -->
```paste below
[WARNING]: You are running the development version of Ansible. You should only run Ansible from "devel" if you are modifying the Ansible engine, or trying out features under development.
This is a rapidly changing source of code and can become unstable at any point.
[WARNING]: Unable to parse /home/alwyn/tmp/inventory-test/ hosts-bar as an inventory source
[WARNING]: Could not match supplied host pattern, ignoring: bar
[WARNING]: No hosts matched, nothing to do
```

##### FURTHER DETAILS

This should get fixed by #67701.
''' return a configuration variable with casting
    :arg value: The value to ensure correct typing of
    :kwarg value_type: The type of the value.  This can be any of the following strings:
        :boolean: sets the value to a True or False value
        :bool: Same as 'boolean'
        :integer: Sets the value to an integer or raises a ValueType error
        :int: Same as 'integer'
        :float: Sets the value to a float or raises a ValueType error
        :list: Treats the value as a comma separated list.  Split the value
            and return it as a python list.
        :none: Sets the value to None
        :path: Expands any environment variables and tilde's in the value.
        :tmppath: Create a unique temporary directory inside of the directory
            specified by value and return its path.
        :temppath: Same as 'tmppath'
        :tmp: Same as 'tmppath'
        :pathlist: Treat the value as a typical PATH string.  (On POSIX, this
            means colon separated strings.)  Split the value and then expand
            each part for environment variables and tildes.
        :pathspec: Treat the value as a PATH string. Expands any environment variables
            tildes's in the value.
        :str: Sets the value to string types.
        :string: Same as 'str'
    '''
    errmsg = ''
    basedir = None
    if origin and os.path.isabs(origin) and os.path.exists(to_bytes(origin)):
        basedir = origin