Set defaults for log and cache directory when profile directory is set