Handle of instances with empty names for ec2list function