ppp: use the correct function to check if a netdev name is in use