Fix issue with indir, spotted by laben++