Fix a bug that prevents td-agent from stopping due to the invalid process name.