[bin] get_preserved_libs: correctly use dep_getkey()