Only inject contao/core package, if required.