CLDSVCS-476 amazon-tools-shared - If AMI build fails set exit status to -1