[BUGFIX] Fix unit tests failures with new class loader
Two unit tests failed with the new class loader1. One because there
was a check for ignored classes, but it came too late. The other because
for the shortcut link creation the package path is now needed right
after activation of a package.