Fixes issue with empty netmasks on host interfaces

Pybootd fails is the host contains interfaces where the
netmask is not set, for example in case on auto assigned
RFC 3927 IPs (169.254.0.0./16).