[deploy] Remove check_revision