Fix bind ip logic to work in test kitchen