fix sandbox with host

suggested change in https://github.com/nelmio/NelmioApiDocBundle/pull/353 is not working