I'm confused by this function clause. Is there ever a case where an integer is passed to this function? All our calls to `path_info` should be for part of the path, not the port. Also, even if this case was possible the error string is misleading. It wouldn't be an unknown index, it would be bad input data. I vote to remove this function clause.