Add null check

Conflicts:
	opennms-services/src/main/java/org/opennms/netmgt/linkd/DiscoveryLink.java