Fixes #471, give source error for mainConfigFile parse failure