Fix stylesheet without href

If a `<link rel="stylesheet">` without an `href` attribute is present, it should be ignored, whereas currently an HTTP request is sent to `http://xxx/null`.