Fix typo in script

Relates #262
(cherry picked from commit 5aae6d8fc6f649c686fc4973d5813fea76747bdf)
(cherry picked from commit aa98405404dd9b2e8307b7a251cc0a2da8677972)