Dereference symlinks when getting a chroot path