core: use normal library call to query list of current names