Fix crash when launching an EC2 instance.
Merge pull request #12987 from getlantern/develop

Fix crash when launching an EC2 instance.