provision/docker: more fixes for tests with go -race