Buf fix plus testcasde: Reading property values failed with a StringIndexOutOfBoundsException on empty strings.