try only to output package name when generating a real new package

ie don't output package name generated in a tmpdir