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

You can't do that you will break the CLI when the hostname is composed of only numbers.

Please change only code for the specific issue like hostname name filtering on list to handle > 100 vms case but do not change other code which is not needed by the issue, like here.