Fix get_interfaces detection