Add in missing 'else' clause

If the previous way was intentional, a comment should be added. I'm assuming it
was simply an oversight.
A bit of refactoring
Add GetGlue support to Context
Refactor source detection to be truly generic
Update tests to use newer statuses

These should include the 'network' property.
Rebuild