Fix ListValues() "slice bounds out of range" panic on empty string input.

It will still panic if given a non-empty string consisting of only whitespace.