Removed test redirect and global variables

They've been moved over to my repo for further testing.
Added error-handling for when we can't connect to GitHub

Resolves #232.