Test that when we enable core.protectNTFS that we cannot add platform-specific invalid paths to the index.