Fixed a byte string conversion error
Fixed a byte string conversion error

Converted a variable from byte strings to strings but on one run it is
an empy string instead of a byte string and so I had to extend the if
statement.

sunspec/pysunspec