Update plugin existance test for both hpi and jpi

For some reason, after jenkins restarted, it renames .hpi to jpi. e.g. ant plugin
Because of this, puppet will install the plugin everytime it runs.
Merge pull request #6 from ubc/master

Update plugin existance test for both hpi and jpi