local path now get pruned with package name, instead of fixed length.