Fixes #387, this reverses the incorrect logic on when to skip the pid file