WebMP: Fix service configuration page when resolving DNS fails

Fix an exception in the service configuration page when resolving the
hostname of a found service doesn't work.