Correct docs for map.getTarget

A follow-up to #971. Like @tschaub I too would have thought this function should always return an element, but this PR changes the api docs to reflect what the code currently does.