fix: show emptry string instead of undefined when package.json has no name
fix: show emptry string instead of undefined when package.json has no name

close #2005
PR #2059

Co-Authored-By: Zoltan Kochan <64d47dab6918cf148f479e85ea2cc526313e39f2@users.noreply.github.com>
rstacruz/pnpm,pnpm/pnpm,rstacruz/pnpm,rstacruz/pnpm,pnpm/pnpm,pnpm/pnpm