Change triggers for running java plugin

We will no longer run java plugin based on contents of sources, only based on
contents of binary RPMs. There is a tiny chance we'll miss some java packages,
but those would be in such a bad state any reviewer worth his salt would have to
notice it.
checks: Add template preamble.