abf/abf-ideas#83: added lock of repository
Merge pull request #9 from abf/rhel-scripts:83-lock-files-for-synchronisation-and-publishing
 abf/abf-ideas#83: lock files for synchronisation and publishing.