Failing test on git_checkout_tree when removing directories

This test attempts to checkout a tree that would result in a directory being removed from the current working tree. When I run this test I get the following failure:

Failure:
checkout::tree::can_checkout_and_remove_directory (no description) \tests-clar\checkout\tree.c:69] [-t3]
  Function call failed: git_checkout_tree(g_repo, g_object, &g_opts)
  Failed to open '.../AppData/Local/Temp/clar_tmp_a06588/testrepo/ab/': Access is denied.

/cc @arrbee