Fix inconsistency in IP address parsing errors

Signed-off-by: Solomon Hykes <solomon@docker.com>