Handle non-existent packages more gracefully