A quick glance at that code looks like it covers the case of multi-sites on the first time the plugin is activated ??
It doesn’t have the hook for when a new site is added though.
I’ll test the code on one of our test sites and create a PR for the new site hook. If my testing comes back successful would you be happy to merge it, or would you prefer to wait until you have your own multi-site to test it?