Make sure the location for the persistant configs exists
Fix CID 1128968 Iterator modified during loop