Handle multiple dots in interface names

(cherry picked from commit adecde5bdc541c08d0c9cd3d98d17e2c8c4aa82d)

See rcbops/chef-cookbooks#757