Do the same fix as https://github.com/flutter/flutter/pull/162623, but for `dev/tools/android_driver_extensions`.