Wrap config parsing result in Result instead of failing task on error.