net: phy: Fix crash when no phy is found

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>