Update sync-group.php to use Maintenance class

Change-Id: I8d7647d5bbb179c8d469437a450a166890b676bf
Merge "Update sync-group.php to use Maintenance class"