add a new package method to support package without architecture and version