Adjust for Git.cloneRepository() actually returning an opened repository which needs to be closed