- Since we pass the -r option and its argument unmodified to the real pkg, we shouldn't chdir before executing it. It is unnecessary if the argument is absolute, and harmful if it is relative as a second chdir will fail.
- Unlike -j, we can't assume that the target environment for -r is executable; we might be cross-building an image, for instance. Therefore, we should execute the pkg binary from our own environment, not the one we just bootstrapped.
Fixes: cad99ff75342 ("pkg: Add -j and -r options")