only (un)register objects if busname is given