Esri/portalpy — pull request #10 by scw (2014-07-21 17:59:35+00:00)
Title: Some reverse lookups will fail, leaving us with only an IP address. 

Use this IP for the referrer, if reverse lookup fails.