Fix NPE when a service provider fails to list its services

This should fix https://bugs.freenetproject.org/view.php?id=5324