Update WiredTiger statistics less frequently and fix a build script
mistake preventing checking out by branch name.