Fix get_parent_interface() for ppp interfaces, it was using an unset variable $ppp_if
Use get_parent_interface() instead of doing it manually