[risk=low][RW-8039] fix syncModulesExternal() DB conflict (#6447)
[risk=low][RW-8039] fix syncModulesExternal() DB conflict (#6447)


all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench