PMD plugin side fix for PMD bug #1155.

The PMD plugin crashes if the ruleset element in the POM is present but empty.