<!--- Verify first that your issue is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
<!--- Explain the problem briefly below -->
When using the vmware_host_service_info module, an attribute error is encountered with different versions of Ansible (2.9.0, 2.9.2 and 2.9.5)

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
vmware_host_service_info

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
ansible 2.9.2
  config file = /home/wtwassim/Documents/Projects/CMSP/ansible.cfg
  configured module search path = [u'/home/wtwassim/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/wtwassim/.local/lib/python2.7/site-packages/ansible
  executable location = /home/wtwassim/.local/bin/ansible
  python version = 2.7.5 (default, Aug  7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
ACTION_WARNINGS(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = False
ANSIBLE_PIPELINING(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = True
ANSIBLE_SSH_RETRIES(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = 3
DEFAULT_FORKS(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = 60
DEFAULT_GATHERING(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = smart
DEFAULT_GATHER_SUBSET(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = [u'!all']
DEFAULT_HOST_LIST(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = [u'/home/wtwassim/Documents/Projects/CM
DEFAULT_TIMEOUT(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = 60
DISPLAY_SKIPPED_HOSTS(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = False
HOST_KEY_CHECKING(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = False
INTERPRETER_PYTHON(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = auto_silent
RETRY_FILES_ENABLED(/home/wtwassim/Documents/Projects/CMSP/ansible.cfg) = False
```

##### OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
CentOS Linux release 7.7.1908 (Core)
Linux wassimans01.cisco-cms.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Target vsphere version: 6.5.0

##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
To get the list of esxi hosts that are in a given cluster, I call the module in a task contained within a block
<!--- Paste example playbooks or commands between quotes below -->
```yaml
---
# tasks to get hosts list
- block:
  - name: Get hosts list
    vmware_host_service_info:
      hostname: "{{ information.address }}"
      username: "{{ credentials.username }}"
      password: "{{ credentials.password }}"
      cluster_name: "{{ information.cluster }}"
      validate_certs: no
    register: host_info
    delegate_to: localhost

  - name: define hosts_list
    set_fact:
      hosts_list: "{{hosts_list|default([]) + [item.key]}}"
    loop:  "{{host_info.host_service_info|dict2items}}"

  - name: define information.resources
    set_fact:
      information: "{{information | combine(new_item, recursive=true)}}"
    vars:
      new_item: "{'resources': \"{{hosts_list}}\"}"
    no_log: true
  tags: ['capcheck', 'vm_creation']

```

<!--- HINT: You can paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
<!--- Describe what you expected to happen when running the steps above -->
The module to succeed in getting the hosts info in the specified cluster

##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
Module fails with
<!--- Paste verbatim command output between quotes -->
```paste below
The full traceback is:
Traceback (most recent call last):
  File "<stdin>", line 102, in <module>
  File "<stdin>", line 94, in _ansiballz_main
  File "<stdin>", line 40, in invoke_module
  File "/usr/lib64/python2.7/runpy.py", line 176, in run_module
    fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code
    mod_name, mod_fname, mod_loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py", line 154, in <module>
  File "/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py", line 150, in main
  File "/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py", line 116, in gather_host_info
AttributeError: 'NoneType' object has no attribute 'service'

fatal: [vcenter01 -> localhost]: FAILED! => {
    "changed": false, 
    "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 102, in <module>\n  File \"<stdin>\", line 94, in _ansiballz_main\n  File \"<stdin>\", line 40, in invoke_module\n  File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module\n    fname, loader, pkg_name)\n  File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code\n    mod_name, mod_fname, mod_loader, pkg_name)\n  File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code\n    exec code in run_globals\n  File \"/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py\", line 154, in <module>\n  File \"/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py\", line 150, in main\n  File \"/tmp/ansible_vmware_host_service_info_payload_R9VIO2/ansible_vmware_host_service_info_payload.zip/ansible/modules/cloud/vmware/vmware_host_service_info.py\", line 116, in gather_host_info\nAttributeError: 'NoneType' object has no attribute 'service'\n", 
    "module_stdout": "", 
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", 
    "rc": 1
}
```

argument_spec = vmware_argument_spec()
    argument_spec.update(
        cluster_name=dict(type='str', required=False),
        esxi_hostname=dict(type='str', required=False),
    )
    module = AnsibleModule(
        argument_spec=argument_spec,
        required_one_of=[
            ['cluster_name', 'esxi_hostname'],
        ],
        supports_check_mode=True,
    )
    vmware_host_service_config = VmwareServiceManager(module)
    module.exit_json(changed=False, host_service_info=vmware_host_service_config.gather_host_info())
if __name__ == "__main__":
    main()