parsing packages file for prepare-debs