[PATCH 6.15 197/480] selftests: drv-net: Fix remote command checking in require_cmd()