Fixed stalled workflow when there is no AMI to deregister