discard local dependencies, fix paths