If plugin _getdir is installed, it will be used.