[PATCH 17/18] tests: Correct determination of host interface name in tests