some fixes for gpkg installing packages via local ipk file