fix test-packages --deploy