Fix request #6591: renaming a project messes-up git

Change-Id: I109320a15920aa5e2c050d7bba109770c2321866
Merge commit 'refs/changes/04/2304/3' of http://gerrit.tuleap.net/tuleap into HEAD

* http://gerrit.tuleap.net/tuleap:
  Fix request #6591: renaming a project messes-up git

Change-Id: Ia6e22b5fdd966162a8ef53a3bcd00a64f0bd682a
This is Tuleap 6.12.99.60

Change-Id: Id25ec1585788ac91397541ba8a09e56b8d9cec83