PetPlugin: fixed some stupid mistakes in implementation of #119.
Merge pull request #121 from rexim/proposal-implementation-mistakes-fix

PetPlugin: fixed some stupid mistakes in implementation of #119