Fix EthernetTetheringTest failure if tethering is not supported am: e6317e5caa am: 241609e5d2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12137906

Change-Id: I599fc8b96ed9897d14b1fa3038a3f05557f04379