Fixes #3526: Add a git lock age checking promise to the distributePolicy

To be merged in 2.5 branch

Ticket: http://www.rudder-project.org/redmine/issues/3526