path is the pkg name. So we need to use confPath.