Prevent raise when passing nil secret