Fix race condition after launching EC2 instance
Fix race condition after launching EC2 instance

It is possible for an instance to not immediately exist after it is
launched. Previously, InstanceStateRefreshFunc would crash if this race
condition were realized.

This change takes the exact same approach of the function above,
AMIStateRefreshFunc, treating 'InvalidInstanceID.NotFound' as if there
were an empty result.

rickard-von-essen/packer,gbarberi/packer,KFishner/packer,monsterzz/packer,pvandervelde/packer,danschaffer/packer,KFishner/packer,boumenot/packer,jgkim/packer,tas50/packer,masbog/packer,yoctocloud/packer,boumenot/packer,gildas/packer-hyperv,jimmythedog/packer,grubernaut/packer,manicai/packer,jmptrader/packer,leroux/packer,zakuro9715/packer,pvandervelde/packer,mansunkuo/packer,aneeshusa/packer,esemplare/packer,tas50/packer,eranchetz/packer,mwhooker/packer,ChrisLundquist/packer,evertrue/packer,zhuzhih2017/packer,sansb/packer,evertrue/packer,LinusU/packer,sequenceiq/packer,feateds/packer,bradparks/packer__create_vm_for_aws_docker_vagrant_etc,napramirez/packer,monkeylittleinc/packer,mkuzmin/packer,aneeshusa/packer,markpeek/packer,DualSpark/packer,boumenot/packer,taliesins/packer,ricardclau/packer,DualSpark/packer,umang1912/packer,mkuzmin/packer,KohlsTechnology/packer,AlphaStaxLLC/packer,pvandervelde/packer,KohlsTechnology/packer,zeliff/packer,zakuro9715/packer,grange74/packer,timsutton/packer,samdunne/packer,tb3088/packer,samdunne/packer,paulmey/packer,threatstream/packer,ttaylor249/packer,kpettijohn/packer,monsterzz/packer,dieu/packer,jsternberg/packer,mayflower/packer,Akasurde/packer,markpeek/packer,icnocop/packer,Cbeck527/packer,justincampbell/packer,btd/packer,ChrisLundquist/packer,sgirones/packer,grubernaut/packer,bhcleek/packer,tb3088/packer,pvanbuijtene/packer,jen20/packer,tsmolka/packer,leroux/packer,mwhooker/packer,marc-ta/packer,markpeek/packer,qur/packer,c22/packer,smaato/packer,jszwedko/packer,jmptrader/packer,bradparks/packer__create_vm_for_aws_docker_vagrant_etc,mwhooker/packer,samdunne/packer,masbog/packer,monkeylittleinc/packer,vtolstov/packer,mitchellh/packer,dayglojesus/packer,henrysher/packer,routelastresort/packer,mgk/packer,sequenceiq/packer,zakuro9715/packer,routelastresort/packer,jasonchaffee/packer,ephemeralsnow/packer,yoctocloud/packer,jean/packer,DualSpark/packer,mitchellh/packer,jamesbishopp/packer,rk295/packer,orivej/packer,danschaffer/packer,yonglehou/packer,tracyde/packer,btd/packer,ricardclau/packer,jae2/packer,rodm/packer,taliesins/packer,mayflower/packer,dave2/packer,ephemeralsnow/packer,youhong316/packer,sobrinho/packer,jsoriano/packer,KohlsTechnology/packer,dieu/packer,tomwilkie/packer,noplay/packer,masbog/packer,mvanholsteijn/packer,pvanbuijtene/packer,dev-head/packer,blairham/packer,higebu/packer,zakuro9715/packer,jae2/packer,pieter-lazzaro/packer,hazelesque/packer,yoctocloud/packer,hazelesque/packer,sean-/packer,ober/packer,qur/packer,bradparks/packer__create_vm_for_aws_docker_vagrant_etc,dayglojesus/packer,dave2/packer,Akasurde/packer,paulmey/packer,uber/packer,markpeek/packer,grubernaut/packer,umang1912/packer,pvanbuijtene/packer,evertrue/packer,legal90/packer,kpettijohn/packer,rickard-von-essen/packer,noplay/packer,avldya/packer,grange74/packer,tsmolka/packer,kgrvamsi/packer,dave2/packer,zeliff/packer,henrysher/packer,atlassian/packer,danschaffer/packer,Xiol/packer,mgk/packer,rnaveiras/packer,leroux/packer,tb3088/packer,atlassian/packer,stagrlee/packer,bhcleek/packer,ricardclau/packer,feateds/packer,sneal/packer,jean/packer,noplay/packer,cyberhouse/packer,rickard-von-essen/packer,evertrue/packer,quantang/packer,mansunkuo/packer,dragon788/packer,ldejager/packer,c22/packer,bryson/packer,legal90/packer,dragon788/packer,monsterzz/packer,routelastresort/packer,bryson/packer,umang1912/packer,Sheile/packer,routelastresort/packer,tomwilkie/packer,hasJackb/packer,p1-nico/packer,LinusU/packer,dave2/packer,mansunkuo/packer,pvanbuijtene/packer,oliviertremblay/packer,dayglojesus/packer,BayanGroup/packer,c22/packer,legal90/packer,youhong316/packer,blairham/packer,avldya/packer,marklap/packer,samdunne/packer,tsmolka/packer,icnocop/packer,taliesins/packer,paulvollmer/packer,oliviertremblay/packer,quantang/packer,kpettijohn/packer,quantang/packer,fnoeding/packer,shaunduncan/packer,mayflower/packer,dantran/packer,hazelesque/packer,ricardclau/packer,mefellows/packer,visioncritical/packer,mafrosis/packer,jen20/packer,taliesins/packer,rnaveiras/packer,dragon788/packer,sneal/packer,mkuzmin/packer,jonathankarsh/packer,rodm/packer,jean/packer,yoctocloud/packer,pearkes/packer,mohae/packer,jen20/packer,ober/packer,bhcleek/packer,smaato/packer,life360/packer,smaato/packer,c22/packer,hasJackb/packer,jamesbishopp/packer,tracyde/packer,visioncritical/packer,sean-/packer,mohae/packer,qur/packer,Xiol/packer,rickard-von-essen/packer,yonglehou/packer,mansunkuo/packer,gbarberi/packer,fnoeding/packer,timsutton/packer,lantrix/packer,rickard-von-essen/packer,oliviertremblay/packer,jarl-dk/packer,sean-/packer,LinusU/packer,jgkim/packer,rnaveiras/packer,mkuzmin/packer,bryson/packer,mindjiver/packer,KFishner/packer,jimmythedog/packer,mindjiver/packer,jamesleech/packer,manicai/packer,mefellows/packer,KohlsTechnology/packer,grubernaut/packer,pecigonzalo/packer,gildas/packer-hyperv,mindjiver/packer,zhuzhih2017/packer,styro/packer,pieter-lazzaro/packer,jamesbishopp/packer,beni55/packer,mitchellh/packer,mindjiver/packer,esemplare/packer,feateds/packer,jarl-dk/packer,dayglojesus/packer,paulvollmer/packer,timsutton/packer,taliesins/packer,avldya/packer,Banno/packer,sequenceiq/packer,quantang/packer,sobrinho/packer,KohlsTechnology/packer,threatstream/packer,tas50/packer,ober/packer,Akasurde/packer,kgrvamsi/packer,dieu/packer,blairham/packer,jsternberg/packer,bensojona/packer,cyberhouse/packer,rk295/packer,gildas/packer-hyperv,p1-nico/packer,masbog/packer,higebu/packer,sgirones/packer,pvanbuijtene/packer,youhong316/packer,higebu/packer,jonathankarsh/packer,bhcleek/packer,smaato/packer,Banno/packer,jasonchaffee/packer,kgrvamsi/packer,Sheile/packer,samdunne/packer,threatstream/packer,ricardclau/packer,Xiol/packer,jgkim/packer,eranchetz/packer,lantrix/packer,tsmolka/packer,BayanGroup/packer,ober/packer,ChrisLundquist/packer,dev-head/packer,grange74/packer,tb3088/packer,noplay/packer,orivej/packer,threatstream/packer,ephemeralsnow/packer,mgk/packer,life360/packer,btd/packer,pecigonzalo/packer,danschaffer/packer,life360/packer,hashicorp/packer,dragon788/packer,kgrvamsi/packer,mayflower/packer,pieter-lazzaro/packer,bhcleek/packer,ttaylor249/packer,mafrosis/packer,visioncritical/packer,tomwilkie/packer,jsternberg/packer,uber/packer,jimmythedog/packer,marklap/packer,justincampbell/packer,burnzy/packer,jonathankarsh/packer,ttaylor249/packer,burnzy/packer,hashicorp/packer,jae2/packer,ldejager/packer,paulmey/packer,rodm/packer,Silver90/packer,paulvollmer/packer,mefellows/packer,pvandervelde/packer,fnoeding/packer,mohae/packer,trumant/packer,rodm/packer,napramirez/packer,atlassian/packer,shaunduncan/packer,trumant/packer,eranchetz/packer,zhuzhih2017/packer,jasonchaffee/packer,cyberhouse/packer,dave2/packer,paulvollmer/packer,grubernaut/packer,monkeylittleinc/packer,arizvisa/packer,mansunkuo/packer,vtolstov/packer,cyberhouse/packer,umang1912/packer,sansb/packer,ldejager/packer,rnaveiras/packer,stagrlee/packer,mohae/packer,tb3088/packer,rrva/packer,israelshirk/packer,jamesleech/packer,Silver90/packer,beni55/packer,paulmey/packer,zeliff/packer,henrysher/packer,sobrinho/packer,napramirez/packer,Cbeck527/packer,BayanGroup/packer,jasonchaffee/packer,pvandervelde/packer,markpeek/packer,jamesleech/packer,zeliff/packer,gildas/packer-hyperv,styro/packer,sean-/packer,Silver90/packer,jarl-dk/packer,boumenot/packer,dantran/packer,justincampbell/packer,sean-/packer,rrva/packer,bensojona/packer,paulmey/packer,tsmolka/packer,jsoriano/packer,pieter-lazzaro/packer,shaunduncan/packer,jsternberg/packer,dev-head/packer,Cbeck527/packer,yonglehou/packer,yoctocloud/packer,justincampbell/packer,Akasurde/packer,higebu/packer,henrysher/packer,feateds/packer,AlphaStaxLLC/packer,mafrosis/packer,mafrosis/packer,Akasurde/packer,manicai/packer,legal90/packer,sneal/packer,zhuzhih2017/packer,jen20/packer,rnaveiras/packer,Cbeck527/packer,mkuzmin/packer,esemplare/packer,arizvisa/packer,jmptrader/packer,mwhooker/packer,kpettijohn/packer,tsmolka/packer,aneeshusa/packer,monkeylittleinc/packer,grubernaut/packer,KFishner/packer,leroux/packer,jean/packer,dantran/packer,beni55/packer,Cbeck527/packer,mwhooker/packer,eranchetz/packer,Xiol/packer,sansb/packer,sneal/packer,sean-/packer,orivej/packer,c22/packer,mitchellh/packer,dev-head/packer,blairham/packer,gbarberi/packer,paulmey/packer,esemplare/packer,hazelesque/packer,mkuzmin/packer,jae2/packer,jarl-dk/packer,boumenot/packer,btd/packer,marklap/packer,burnzy/packer,youhong316/packer,manicai/packer,rrva/packer,jsoriano/packer,icnocop/packer,pearkes/packer,legal90/packer,life360/packer,bryson/packer,KohlsTechnology/packer,jamesbishopp/packer,jszwedko/packer,atlassian/packer,arizvisa/packer,mvanholsteijn/packer,mafrosis/packer,tas50/packer,ricardclau/packer,Banno/packer,quantang/packer,rnaveiras/packer,marklap/packer,AlphaStaxLLC/packer,aneeshusa/packer,gbarberi/packer,mvanholsteijn/packer,mvanholsteijn/packer,bryson/packer,routelastresort/packer,p1-nico/packer,p1-nico/packer,ober/packer,hashicorp/packer,smaato/packer,sneal/packer,vtolstov/packer,ChrisLundquist/packer,pieter-lazzaro/packer,rk295/packer,jen20/packer,jimmythedog/packer,mitchellh/packer,monkeylittleinc/packer,shaunduncan/packer,pecigonzalo/packer,pieter-lazzaro/packer,tas50/packer,mefellows/packer,BayanGroup/packer,Sheile/packer,timsutton/packer,youhong316/packer,mgk/packer,hashicorp/packer,Sheile/packer,sgirones/packer,trumant/packer,jszwedko/packer,jamesleech/packer,sansb/packer,marc-ta/packer,uber/packer,oliviertremblay/packer,burnzy/packer,bensojona/packer,bryson/packer,tomwilkie/packer,icnocop/packer,higebu/packer,stagrlee/packer,taliesins/packer,jen20/packer,ChrisLundquist/packer,danschaffer/packer,ttaylor249/packer,avldya/packer,tb3088/packer,pearkes/packer,israelshirk/packer,marc-ta/packer,atlassian/packer,mayflower/packer,p1-nico/packer,bradparks/packer__create_vm_for_aws_docker_vagrant_etc,markpeek/packer,ttaylor249/packer,tracyde/packer,AlphaStaxLLC/packer,ephemeralsnow/packer,c22/packer,tracyde/packer,arizvisa/packer,tas50/packer,israelshirk/packer,vtolstov/packer,dantran/packer,styro/packer,uber/packer,sequenceiq/packer,qur/packer,LinusU/packer,zhuzhih2017/packer,timsutton/packer,ChrisLundquist/packer,jonathankarsh/packer,lantrix/packer,fnoeding/packer,hasJackb/packer,lantrix/packer,ephemeralsnow/packer,arizvisa/packer,sobrinho/packer,youhong316/packer,jmptrader/packer,esemplare/packer,icnocop/packer,bensojona/packer,jimmythedog/packer,threatstream/packer,smaato/packer,dieu/packer,pecigonzalo/packer,sgirones/packer,vtolstov/packer,p1-nico/packer,dantran/packer,ldejager/packer,mohae/packer,life360/packer,grange74/packer,hasJackb/packer,visioncritical/packer,orivej/packer,beni55/packer,jasonchaffee/packer,monsterzz/packer,zhuzhih2017/packer,jgkim/packer,pearkes/packer,atlassian/packer,dave2/packer,rrva/packer,timsutton/packer,rk295/packer,DualSpark/packer,grange74/packer,stagrlee/packer,jszwedko/packer,marc-ta/packer,trumant/packer,pvandervelde/packer,jsoriano/packer,dayglojesus/packer,styro/packer,yonglehou/packer,arizvisa/packer,Silver90/packer,napramirez/packer,israelshirk/packer