Fixes #3531,#3899: Backport the GIT lock nuking promise from 2.5
Merge pull request #178 from Kegeruneku/ust_3531/dev/3899_backport_git_lock_nuking_from_2_5

Fixes #3531,#3899: Backport the GIT lock nuking promise from 2.5
Merge branch 'branches/rudder/2.4' into branches/rudder/2.6

Conflicts:
	techniques/system/distributePolicy/1.0/integrityCheck.st
Merge branch 'branches/rudder/2.6' into branches/rudder/2.7