Use path_join to create local-mode-cache

Always give config_dir a value