fix case when packages_cache is empty
Merge pull request #4 from julienaubert/feature/fix_issue_when_empty_packages_cache

fix case when packages_cache is empty