##### 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.
newid=dict(type='int', default=None),
            node=dict(),
            numa=dict(type='dict'),
            numa_enabled=dict(type='bool'),
            onboot=dict(type='bool', default='yes'),
            ostype=dict(default='l26', choices=['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'l24', 'l26', 'solaris']),
            parallel=dict(type='dict'),
            pool=dict(type='str'),
            protection=dict(type='bool'),
            reboot=dict(type='bool'),
            revert=dict(type='str', default=None),
            sata=dict(type='dict'),
            scsi=dict(type='dict'),
            scsihw=dict(choices=['lsi', 'lsi53c810', 'virtio-scsi-pci', 'virtio-scsi-single', 'megasas', 'pvscsi']),
            serial=dict(type='dict'),
            shares=dict(type='int'),
            skiplock=dict(type='bool'),
            smbios=dict(type='str'),
            snapname=dict(type='str'),
            sockets=dict(type='int', default=1),
            startdate=dict(type='str'),
            startup=dict(),
            state=dict(default='present', choices=['present', 'absent', 'stopped', 'started', 'restarted', 'current']),
            storage=dict(type='str'),
            tablet=dict(type='bool', default='no'),
            target=dict(type='str'),
            tdf=dict(type='bool'),
            template=dict(type='bool', default='no'),
            timeout=dict(type='int', default=30),
            update=dict(type='bool', default='no'),