Avoid fetching the same package multiple times when sub packages are used.
Remove log output.
Code cosmetics.