CLOUD-180 validate environment variables
CLOUD-126 do not fail the user data script immediately if metadata service returns timeout for the first attempt
Merge pull request #259 from sequenceiq/bug-fixing

lgtm