Fixes issue with 404 response crashing the snippets server.

This fixes the server crash when a 404 response is generated from github, also when running locally the version of AT is wrong.

Please integrate..