readLockFile handles multiple repos