cli: unveil only after building the client dir list This fixes an issue where pkgconf can't access directories in the PKG_CONFIG_PATH environment variable.