Update the lock file after installation.
Ensure drush can be found without exiting script.