pip: fix bug when addMaster() without pip