Fix error when parsing OSTC3 Custom Text

This patch fixes a parsing error in the OSTC 3 device name. An
unidentified character was appearing at the end of the custom
name.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>