Fix potential infinite loop with no error when using recursive makedirs
Fix potential infinite loop with no error when using recursive makedirs

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt