handle import __all__ for manager shell