Remove inadvertantly-committed debug code in prepare-dist; show error output for failed EC2 AMI image builds.