fix autoupdate revision check to deal with missing revisions