Sync missed get_scm bootstrapping logic.