nodemanagerservice: make IP discovery optional (for systems where required python libraries are not available)