metadata plugin BUGFIX avoid using unnecessary global variable due to thread safety
metadata plugin BUGFIX avoid using unnecessary global variable due to thread safety

Fixes #1344

sartura/libyang,sartura/libyang,sartura/libyang,sartura/libyang,CESNET/libyang,sartura/libyang,CESNET/libyang,sartura/libyang