##### SUMMARY
For a fraction of second after the creation of a new VM, the VM name is not yet defined in its relative dictionary returned by the proxmoxer when querying the list of VMs (proxmox.cluster.resources.get(type='vm')). 

Accessing to this non existing attribute as an element of a dictionary instead of using the get function on the dictionary raise an error.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
proxmox_kvm

##### ANSIBLE VERSION
```
ansible 2.8.0
  config file = /home/pguermo/Projects/superluminal-pdp/etc/ansible.cfg
  configured module search path = ['/home/pguermo/Projects/superluminal-pdp/library']
  ansible python module location = /home/pguermo/.virtualenvs/superluminal-pdp/lib/python3.5/site-packages/ansible
  executable location = /home/pguermo/.virtualenvs/superluminal-pdp/bin/ansible
  python version = 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
```

##### STEPS TO REPRODUCE
Create several VMs on proxmox in a row. 
```
  proxmox_kvm:
    api_host: "{{ pve_host_fqdn }}"
    api_user: "{{ pve_user }}"
    api_password: "{{ pve_password }}"
    validate_certs: "{{ validate_certs }}"
    node: "{{ pve_node }}"

    name: "{{ ansible_host }}"
    pool: "{{ pool_id }}"
    vmid: "{{ vmid }}"

    description:  "{{ description | default(vm.description) }}"
    net:          "{{ net         | default(vm.net) }}"

    balloon:  "{{ balloon   | default(vm_defaults.balloon) }}"
    cores:    "{{ cores     | default(vm_defaults.cores) }}"
    ide:      "{{ ide       | default(vm_defaults.ide) }}"
    memory:   "{{ memory    | default(vm_defaults.memory) }}"
    ostype:   "{{ ostype    | default(vm_defaults.ostype) }}"
    scsi:     "{{ scsi      | default(vm_defaults.scsi) }}"

    state: present
  delegate_to: localhost
```

Some VMs will not be created. 

If you add traces in the function get_vmid(proxmox, name) of  ansible/modules/cloud/misc/proxmox_kvm.py, you'll notice that for some new VMs of the list, the dictionary doesn't have a 'name' entry. The `vm['name']` is then failing.

Use instead `vm.get('name')`. It will returns None if there is no name entry in the dictionary and the check `if vm.get('name') == name` can be processed properly.
validate_certs = module.params['validate_certs']
    # If password not set get it from PROXMOX_PASSWORD env
    if not api_password:
        try:
            api_password = os.environ['PROXMOX_PASSWORD']
        except KeyError as e:
            module.fail_json(msg='You should set api_password param or use PROXMOX_PASSWORD environment variable')
    try:
        proxmox = ProxmoxAPI(api_host, user=api_user, password=api_password, verify_ssl=validate_certs)
        global VZ_TYPE
        global PVE_MAJOR_VERSION
        PVE_MAJOR_VERSION = 3 if float(proxmox.version.get()['version']) < 4.0 else 4
    except Exception as e:
        module.fail_json(msg='authorization on proxmox cluster failed with exception: %s' % e)
    # If vmid not set get the Next VM id from ProxmoxAPI
    # If vm name is set get the VM id from ProxmoxAPI
    if not vmid:
        if state == 'present' and (not update and not clone) and (not delete and not revert):
            try:
                vmid = get_nextvmid(module, proxmox)
            except Exception as e:
                module.fail_json(msg="Can't get the next vmid for VM {0} automatically. Ensure your cluster state is good".format(name))
        else:
            try:
                if not clone:
                    vmid = get_vmid(proxmox, name)[0]
                else:
                    vmid = get_vmid(proxmox, clone)[0]
            except Exception as e:
                if not clone: