fix assertions
fix assertions

Signed-off-by: Max Brunsfeld <8ee73e75b50cc292b5052b11f2ca25336d3e974e@pivotallabs.com>

tsaleh/garden,tangfeixiong/garden,savaki/garden,tsaleh/garden,cloudfoundry-incubator/garden,savaki/garden,tangfeixiong/garden,cloudfoundry-incubator/garden