Don't add duplicates for introduced nodes without repos (fixes #745)
Move top level packages to internal.
wip
wip
wip
wip
wip
wip
wip