Fix undefined variable access.

This would throw and thus leave the "Use Script from Clipboard" button visible, even if the clipboard did not contain a valid userscript.