[Fix #860] Restrict the length of running lein paths to 1000