[NuGet] Fixed failing test on Mac

Test was missing a conversion to a native file path.