Don't try to call dup on falsy values.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>