fix issue with get tenant
Merge pull request #7 from sanjaymandadi/master

fix issue with get tenant