fix tags/branches not being fetched when repo was already cloned