##### 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=dict(type='bool', default='no'),
            vcpus=dict(type='int', default=None),
            vga=dict(default='std', choices=['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']),
            virtio=dict(type='dict', default=None),
            vmid=dict(type='int', default=None),
            watchdog=dict(),
        ),
        mutually_exclusive=[('delete', 'revert'), ('delete', 'update'), ('revert', 'update'), ('clone', 'update'), ('clone', 'delete'), ('clone', 'revert')],
        required_one_of=[('name', 'vmid',)],
        required_if=[('state', 'present', ['node'])]
    )
    if not HAS_PROXMOXER:
        module.fail_json(msg='proxmoxer required for this module')
    api_user = module.params['api_user']
    api_host = module.params['api_host']
    api_password = module.params['api_password']
    clone = module.params['clone']
    cpu = module.params['cpu']
    cores = module.params['cores']
    delete = module.params['delete']
    memory = module.params['memory']
    name = module.params['name']
    newid = module.params['newid']
    node = module.params['node']
    revert = module.params['revert']
    sockets = module.params['sockets']
    state = module.params['state']
    timeout = module.params['timeout']
    update = bool(module.params['update'])
    vmid = module.params['vmid']