def mount_local_lib_path(config_dir):
    sys.path.insert(0, os.path.join(config_dir, 'deps'))


# pylint: disable=too-many-branches, too-many-statements, too-many-arguments
Called when we receive a MSG_DISCONNECT message.  Payload::
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/bootstrap.py/mount_local_lib_path--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/conch/ssh/transport.py/SSHTransportBase.ssh_DISCONNECT