Bug 1109646: dup was being called on nil