handle the case when there are no .pkg files in system directory