core: abort early if main config file cannot be read