fail earlier with no activity/package (fix #1450)