Fix crash related to port mapping

If self.portMapping was nil, then the observer for port mapping
notifications would never be removed. This would result in a crash if
notification center ever did fire those notifications. Now,
notifications are removed regardless of the state of self.portMapping.