Silence a boot time warning about file not found.

This is being pulled from upstream.  It's also not being used
in FreeNAS.  I'll notify upstream about the change in the hopes
that this fix won't get lost on next import.
Handle '.' in port names.