[Change] fix for removal of tmpdir_scan variable