config: set default for dir only if not set by user [closes #7]