use new get-pkg-name