I think we'll have to introduce that `WP_CLI_ROOT_DIR` environment variable after all, but that can be handled in a separate PR.