config.go: Refactored ReadString error check.