Fix error where sublime is used as editor before it is installed