Fix bootstrap context having nil parent and also flipped gem scripts bet...

...ween emr and ec2

@mguymon, please review.