add package repo version check