ec2-build/build-kernel: more error and logging clean-up