a small optimization to skip remote call when the new bucket is the same as the old one