Make path length of 1 return an error.