fix update cache after checkout image revision
add check_first_revision