set_default_dirs() ignores directories that have already been set