Fix NPE in updater

sorry :)