Better error reporting in mktargets.py
Merge pull request #565 from varunbpatil/errstr

Better error reporting in mktargets.py