Add packagePath to format