fixes #12574 let the tag ID as 0 when tags array is empty when to update pull time Signed-off-by: wang yan <wangyan@vmware.com>