Fix get_pkgs_info_idx to support only get new RPMs