parameter tree parser: do not try to access the first character of empty strings

funnily enough, this usually worked (i.e. it returned some garbage
which was not recognized by the switch statement that followed), and
was not detected by valgrind (on my machine at least, I suppose this
was because the address to which the string pointed was still a valid
memory location created by some previous user). The libstdc++ debug
mode (-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1) did find it
though...

(cherry picked from commit fe8cb3dca8890a4ab67462f4f43c841db05e90dc)
Signed-off-by: Markus Blatt <markus@dr-blatt.de>