Catch and return the proper error

Properly returns a 404 when no bucket exists.