[no ticket][risk=no] fixing bug in script (#5668)
[no ticket][risk=no] fixing bug in script (#5668)

* fixing bug

* codacy fix
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