Merge pull request #38 from daivanov/master

Fix NullPointerException reported in Issue #37
Merged fix for issue #37: https://github.com/mtedone/podam/pull/37