Added exception handle for 404
Cleaning up git