return 0 instead of None in get_interfaces

parent a3fa745a
Pipeline #50200 passed with stage
in 45 seconds