In /usr/sbin/sipb-xen-lvcopy, code like
p = Popen(ls?, stdout=PIPE) print p.stdout
prints None the first time when called with remctl. It prints the right thing (an fd) when run directly, or on the second call to Popen.