My final refactored version might be: (untested code)

```go
func DemoDirectory() (string, error) {
  dir, err = os.Getwd()
  return fmt.Sprintf("%s/exercism-demo", dir), err
}
```