Get the right shebang path for chrooted scripts