Test for NoPackagesFound, not just RuntimeError