HUE-9154 [aws] Move EC2 detection safeguard to proper section
HUE-9154 [aws] Move EC2 detection safeguard to proper section

kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,kawamon/hue,kawamon/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloudera/hue