lib/param: add default for getwd cache parameter