fix flaky tests and possible NPE in blob container

(cherry picked from commit dc9324002d60b60c7276fbae76b2ce2c4ebac3f6)

Conflicts:
	sql/src/test/java/io/crate/integrationtests/ShardStatsTest.java