Fix error when a host has no interfaces declared