This commit fixes pgxc_ctl bug #440 and related one.  Will be applied
both to the master and REL1_1_STABLE.

Patch submitted by Koichi Suzuki.