Make get_ip actually useable.

Only place currently using it actually expects that behaviour anyways , see modules.d/95nfs/nfs-lib.sh L27
so this would fix a potential bug too.