Fixed bug with cachedir configurable trait.