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

... (Fix problematic mtime and reporting)

To be merged in 2.5

Ticket: http://www.rudder-project.org/redmine/issues/3533