fix directory check on depsboot