Fixing the puppetdb init script

The puppetdb init script was returning running anytime a java process was running since no PID was specified. This fixes that.