bin/lcreplicate.rb: Fix bug.