Windows, an absolute path starts with \\, or a drive letter followed by
:/ or :\.
This method will strip the prefix so the path start with a \ or /
and the prepend the drive letter so that it becomes a valid
path. If the absolutePath doesn't contain a drive letter
then we take the drive letter from the workingDirectory.
If this is a linux absolute path it is returned unchanged.