fix build id == latest issues in refreshPackage list
Merge pull request #198 from altsai/latest_invalid

fix build id == latest issues in refreshPackage list