fix package stat
small fix
code cleanup
Merge pull request #165 from NuGet/packagestatfix

fix package stat