FORGE-979 Fixed Forge plugin installation failures on Windows.

The fix was to close the Git repository before deleting the directory housing it.
Merge pull request #327 from VineetReynolds/FORGE-979

FORGE-979 Fixed Forge plugin installation failures on Windows.