Handle case where editor has no path, fixes #11