fixed bug in test cause by git not checking out empty directories