[Server] suppress warning when hatohol terminates in foreground mode

Because following error displayed when hatohol server terminates in foreground mode:
```log
[ERR] <main.cc:108> Failed to remove pid file: /tmp/hatohol.pid
```

In foreground mode, hatohol server doesn't create pidfile.
So, it needs check pidfile existence instead of check pidFilePath.length()