Fix issue when passing packageName but not packageVersion and vice-versa
Merge pull request #2 from satazor/patch-1

Fix issue when passing packageName but not packageVersion and vice-versa