Fix error when installing extensions from Network Admin

When in network admin, line 133 was returning false. We need to check against the `self_admin_url`, not just the `admin_url`.

Fixes #491