Fixed Path.GetFullPath to work correctly when the current path is '/'.

Fixes xambug #833.