Fix management load

In case of use of namespace package, the command loader doesn't work.

This fix is to be able to load commands from all packages. Also fix two unused imports.