Avoiding error when the URL is nil.
Merge pull request #7 from saraycp/missing_url_fix

Avoiding error when the URL is nil.