luci-base/network.lua: fix get_interface function