iaas: fix hostname-to-id mapping when there are more than 100 VMs

should str(hostname) here - that might raisewith an id