Fix funced to stop outputing an error if no EDITOR is set