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

/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".

Updated to use "has_command" instead of ENV.delete

Because my github-fu is weak, I ended up making a second pull request.