[sublime] Fix null dereference bug introduced by #2655