Fix running `scripts-dev/complement.sh`, which was broken in v1.47.0rc1.