Ah ? I thought the one liner was elegant ...

What about this way: 
```
source_path = Chef::Platform.windows? ? fix_windows_path(uri.path) : uri.path
```
It's true repeating the assignment within the condition is 'bad'.

For the case of /c:/foo yes it's unlikely to happen, but as someone may wish to 'mimic' a windows drive on a linux machine, I think it worth protecting it to avoid a future bug.