prune sub-project references