guard against no packages present
v2.2.0-beta.2