fix build id == latest issues in refreshPackage list