Accommodate race condition for packaging tests

@cpatrick PTAL, I noticed my other branch failed randomly on one of the package tests.