Error exit rather than panic when default values are invalid