Fix for rc-status not showing puppet when puppet is run as a service

/bin/rc-status doesn't show the service specified in the environment
variable "RC_SVCNAME", which when puppet is started as a service is set
to "puppet"

Modified my original patch to use "has_command" instead of ENV.delete