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.