Use packageType rather than path.