cf_popen() generates an error message on distributions where ifconfig cannot be found during IPv6 discovery, affects RHEL 7

(cherry picked from commit b957ad6eb19c3fdb3c62940c61a24266f4fbcff3)