Allow joined promises (when:) to be resolved/rejected with nil

The current behavior is an exception thrown