Make sure that the agent root directories are created prior to starting the agent, otherwise it will fail