Allow for $plugins parameter to be false

When used in multisite and there are no plugins network activated, casting the $plugins parameter as an array leads to a fatal error on activation because the value is `false`, not an array.