Fixed CLI update, the revisions weren't checked.