fix detection when dhcp client is just "dhcpcd eth0"
(cherry picked from commit f9def0643667234049ad920cfd04cc11f60a21e2)