Fixed a bug detecting the Sublime Text directory when installed as a .sublime-package file