[WAGON-495] Fix checkoutDirectory leak

This closes #46
1 file changed