Verify that the endpoint exists.
Merge pull request #657 from kadams54/fix-undefined-relations

Verify that the endpoint exists when parsing related services.

Sometimes the far endpoint doesn't exist (e.g., peer relations) and we need to handle those situations gracefully.