Fix bug pid become zero

When empty fluentd pid file exists, fluentd-ui displays `Running` on dashboard page.

I added empty check for the pid file and spec.