[CS] Reduce the complexity of some path switching code in the CLI
[CS] Reduce the complexity of some path switching code in the CLI
adhearsion/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,adhearsion/adhearsion,cloudvox/adhearsion,adhearsion/adhearsion,adhearsion/adhearsion,kares/adhearsion,cloudvox/adhearsion,kares/adhearsion,jicksta/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,renemendoza/adhearsion