Fix crashes on startup in Totem Flatpak
This should probably have caused problems before, but I think that some timing changes when using the network portal caused the "network changed" code to run at the same time as we were initialising the sources.