Correct path renaming to allow symlinking the plugin