Add check for nonexistent bucket.

Test for the following riak_api PR:

https://github.com/basho/riak_api/pull/62