Fix configuration #save to write dependencies_dir to yaml