Use the result from ghc-get-info only if it is string