Don't insert null entries into the scalar map for constexpr (cast null to Ty)