...and I'm totally backwards; I finally notice we're comparing to string::npos and removing all the matches. However, we should reference the RGW_BUCKETS_OBJ_PREFIX instead of the magic literal ".buckets".