driver: Check the bucket type at startup

At startup, check whether the bucket type exists, and fail if it does
not. This way we fail early, and clearly, in case the bucket type is not
set up correctly.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>