Check to ensure the bucket is actually valid before accessing it