Small typo/logic fix

Thanks for the great work. Found a small bug/typo that blocked the auto-updater.