Remove lockpath from marguments.