Looks like if the `args.bucket_type` is NULL, then `bucket_type_bin` is automatically NULL.  This is how all of the other arguments work, so the if statement, while clearer, is superfluous.