I'd tend to just return the string here.  Would reduce the LOC by a factor of 3 and is still easily checkable for non-empty.