NMS-6103: Linkd is able to manage duplicated ip

Fixed a null pointer Exception