backport UNC path fix for test_import