git resource fails on subsequent checkouts of the same repostiry