Minor mods found useful during analysis_xserver debug

assembly.py: reraise exception in connect to get full traceback.
container.py: protect against infinite recursion in cpath_updated and branch_moved.

Other changes done to reduce pylint noise.