Rollback the bootstrap.inc changes in last commit. They were ill advised. Drupal needs to delay its redirect to install.php (as it was in D7) we Drush stops working well on not-yet-installed sites.