Error handling in cq_package provider simplified