[PATCH] Allow mac and ip duplication for empty strings. (fixes ticket #493)