Another bugfix for auto-updater