Fix package config failure handling (partial #240)