(Maint) Make sure we don't execute pkglist in specs

During an uninstall, the aix and nim package providers execute pkglist,
which wasn't being stubbed out. This seems to only fail on windows but not
other platforms. Updated the tests accordingly.