Fixes crash when attempting navigation to spec/impl from context other than source editor

[Fixes #18]