Fixed little bug in PathUtilities.cs