Improve error reporting in ServiceRegistry

No match.