Fix error when opening Atom without a project root. Fixes #2