Don't hardcode chroot path

Fixes #2949.