Fix bug when unsetting credential var
Merge pull request #2 from betamatt/feature/unset

Fix bug when unsetting credential var