Use correct path length for list command