Fix base_dir declaration in updater.py