As mentioned by @justinvdm the real outbound resource disallows null here so we should do that too and just add a comment in this function explaining the reason.