Fixed to install plugin before creating the package manager