[core] avoid loading multiple entries of the same plugin

- can fix #12