Update bootstrap.py

(cherry picked from commit 715a0a20a4cc93bdc6110f72ef390816f04b27c0)