Correctly handle missing origin URL.
Merge pull request #1985 from Ventero/origin

Correctly handle missing origin URL in shouldLoad().