Hotfix: use realpath() to get the real path of the plugin