[doxygen] Fix and extend documentation of return value of local()