[maas] artifact sync: improve barrier condition