I didn't know the use case you had. But the ticket mentioned in the comments is closed a year ago.
So, double check whether its really fixed with recently new copy of netaddr for your cases. 

if it doesn't fixes the problem you had reopen the ticket ticket 21 in netaddr and revert this specific change.