Network-only plugin check should only happen on multisite

According to `is_network_only_plugin()`:

```
Checks for "Network: true" in the plugin header to see if this should
be activated only as a network wide plugin. The plugin would also work
when Multisite is not enabled.
```

Fixes #1244