Fix parsing resource name from awful-resource:// URLs.

* Just log an error, instead of crashing, when we can't find a resource. While
  I'm not worried about a crash in development, someone unhelpful could trigger
  the crash on arbitrary pages.
* Don't parse awful-resource:// URLs like typical URLs.