return 0 instead of None in get_interfaces

2 jobs for master
in 45 seconds and was queued for 6 seconds