fix (worker): extract .git.* only if git clone app (#2254)
fix (worker): extract .git.* only if git clone app (#2254)

extract .git.* only if we git clone the current application

Signed-off-by: Yvonnick Esnault <05f95ceb78e0d41f782014c15bff0a420d6ac71a@corp.ovh.com>
ovh/cds,ovh/cds,ovh/cds,ovh/cds,ovh/cds