Fix UB: can't bind a reference to nullptr (NFC)