Fix with-channel when called without opts

Fixes issue #18.