fix returning to existing dir
ensure unique list of module paths via nub