bugfix: avoid hang in pkgautoversion on OS X