Clone script enhancement

Change-Id: I1b7d83aad9c04200c27d1f7b13214f19e459e8f7
Signed-off-by: Yannick GICQUEL <yannick.gicquel@open.eurogiciel.org>