Fixed host_create_from_subnet when no prefix is given.