Use abspath in _hook_plugin_main()