use a pidfile_set flag: if set, the pidfile was set on the commandline and we do not overwrite the
value from conf.xml.

Also, remove the buggy default else statement.