Fix bug in parse-ns

foo.bar.baz is a perfectly valid libspec and can safely be filtered out
when looking for aliases