bug fix in hpctoolkit.py and tau.py

Fixed a bug where variables holding a string could be returned without being set