[OHAI-518] remove *.static.cloud-ips.com

Fixes issues with Pull Request #215
- fixes tests
- moves `require "resolve"` to top of file